From 93390151013f30806b39ee55ccd3c455004183db Mon Sep 17 00:00:00 2001 From: Thomas L Date: Thu, 29 Mar 2018 00:59:13 +0200 Subject: [PATCH] fix account confirmation. --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 18e3bb3..d6c52bc 100644 --- a/db.py +++ b/db.py @@ -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: