diff --git a/cmd/signup/main.go b/cmd/signup/main.go index 0165ded..9257db2 100644 --- a/cmd/signup/main.go +++ b/cmd/signup/main.go @@ -164,7 +164,7 @@ func _main(l *log.Logger, db *sql.DB) error { app := tview.NewApplication() app.SetRoot(pages, true) - player := newCharacter("you", "TODO") + player := newCharacter("you", "it's you. how are you?") su := &models.TownSignup{ID: -1} diff --git a/cmd/welcome/form.go b/cmd/welcome/form.go index aa821c9..eb1d395 100644 --- a/cmd/welcome/form.go +++ b/cmd/welcome/form.go @@ -59,8 +59,6 @@ type asker struct { } func (a *asker) Ask() (err error) { - // TODO somehow un and email getting set to "" but pubkey works fine? - if err = a.promptUsername(); err != nil { return err } diff --git a/cmd/welcome/main.go b/cmd/welcome/main.go index 8af7bec..2316c11 100644 --- a/cmd/welcome/main.go +++ b/cmd/welcome/main.go @@ -19,7 +19,6 @@ import ( // TODO mark on user table what signup id led to the account for forensics // TODO add logging like the signup tool has // TODO consider merging adduser, usermod, and createkeyfile into single createuser helper to limit sudoers list -// TODO move magic key machine to static page // TODO add alerts for new users (mailing list post, irc post, etc(?)) //go:embed welcome.txt @@ -154,8 +153,6 @@ if you end up very stuck, you can email root@tilde.town .`, data.Username)) return fmt.Errorf("could not mark invite as used: %w", err) } - // TODO burn invite - return nil } @@ -215,7 +212,6 @@ func keyfileText(data newUserData) string { } func main() { - // TODO friendlier error handling err := _main() if err != nil { fmt.Fprintln(os.Stderr, err)