oops
parent
c3dc5ae0ed
commit
872d2ade23
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue