all repos — honk @ 8c10eb721a2bca3b03cf0b725924001eab6869a8

my fork of honk

fix honk init user creation
Ted Unangst tedu@tedunangst.com
Thu, 10 Dec 2020 01:16:46 -0500
commit

8c10eb721a2bca3b03cf0b725924001eab6869a8

parent

a24baa794aa9655133711b3ebbfc57ebcb4c6b2c

2 files changed, 7 insertions(+), 2 deletions(-)

jump to
M docs/changelog.txtdocs/changelog.txt

@@ -1,5 +1,9 @@

changelog +=== 0.9.5 Emergency Ejection + ++ Fix honk init user creation. + === 0.9.4 Collegiate Colloquialism + Add validation to some more user inputs to prevent mistakes.
M util.goutil.go

@@ -114,12 +114,13 @@ initblobdb()

prepareStatements(db) - err = createserveruser(db) + err = createuser(db, r) if err != nil { log.Print(err) return } - err = createuser(db, r) + // must came later or user above will have negative id + err = createserveruser(db) if err != nil { log.Print(err) return