new users must be created with empty option string
Ted Unangst tedu@tedunangst.com
Tue, 23 Jul 2019 13:21:54 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
util.go
→
util.go
@@ -231,7 +231,7 @@ seckey, err := zem(k)
if err != nil { return err } - _, err = db.Exec("insert into users (username, displayname, about, hash, pubkey, seckey) values (?, ?, ?, ?, ?, ?)", name, name, "what about me?", hash, pubkey, seckey) + _, err = db.Exec("insert into users (username, displayname, about, hash, pubkey, seckey, options) values (?, ?, ?, ?, ?, ?, ?)", name, name, "what about me?", hash, pubkey, seckey, "") if err != nil { return err }