fix account confirmation.

multi-deployment
Thomas L 2018-03-29 00:59:13 +02:00
parent 4850860f82
commit 9339015101
1 changed files with 1 additions and 1 deletions

2
db.py
View File

@ -123,7 +123,7 @@ class DB(object):
return None # invalid token
if 'passhash' in json.keys():
# create user
self.execute("INSERT INTO user (passhash) VALUES(?, ?);",
self.execute("INSERT INTO user (passhash) VALUES(?);",
(json['passhash'], ))
uid = self.cur.lastrowid
else: