trunk
vilmibm 2023-10-25 08:34:58 +00:00
parent 940779876c
commit cbc868ae35
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"fmt" "fmt"
"git.tilde.town/tildetown/town/email" "git.tilde.town/tildetown/town/email"
"git.tilde.town/tildetown/town/towndb"
) )
const emailText = `hello! const emailText = `hello!
@ -24,7 +23,7 @@ Follow the instructions there to add your new key and restore access to your acc
best, best,
~vilmibm` ~vilmibm`
func sendAuthCodeEmail(ac towndb.AuthCode) error { func sendAuthCodeEmail(ac AuthCode) error {
pw, err := email.LoadPassword() pw, err := email.LoadPassword()
if err != nil { if err != nil {
return err return err