all repos — honk @ b306ad817c4fef7708bb2ce0ecaecc48fcf3bb82

my fork of honk

new users must be created with empty option string
Ted Unangst tedu@tedunangst.com
Tue, 23 Jul 2019 13:21:54 -0400
commit

b306ad817c4fef7708bb2ce0ecaecc48fcf3bb82

parent

5e2ad43c552ebd8c078427edbefe4d3b1694dc7e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M util.goutil.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 }