trunk
vilmibm 2023-03-04 00:22:37 +00:00
parent c3dc5ae0ed
commit 872d2ade23
2 changed files with 4 additions and 3 deletions

View File

@ -53,9 +53,9 @@ func main() {
quit(err.Error()) quit(err.Error())
} }
_, err = os.Open(keyfileName) _, err = os.Open(keyfilePath)
if err == nil { if err == nil {
quit(fmt.Sprintf("%s already exists", keyfileName)) quit(fmt.Sprintf("%s already exists", keyfilePath))
} }
f, err := os.Create(keyfilePath) f, err := os.Create(keyfilePath)

View File

@ -257,7 +257,8 @@ Your invite code has not been marked as used and you're welcome to try again, th
return nil return nil
} }
// TODO assuming account creation succeeded, mark invite as used // TODO mark invite as used
// TODO add user to town.db
return nil return nil
} }