From d095a0b656373ec487e721bdcda25420907eb17b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 12 Feb 2021 09:45:47 +0100 Subject: updated signup for new status column in sql --- api/auth/signup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/auth/signup.py b/api/auth/signup.py index 5fa067d..a9e155c 100644 --- a/api/auth/signup.py +++ b/api/auth/signup.py @@ -30,7 +30,7 @@ def index(): password_hash = passwords.password_hash(password) registered = int( time.time() * 1000 ) - cursor.execute("insert into users values (?, ?, ?, NULL, ?, ?, \"[]\", FALSE, \"user\", \"{}\", NULL, \"online\") ", + cursor.execute("insert into users values (?, ?, ?, NULL, NULL, ?, ?, \"[]\", FALSE, \"user\", \"{}\", NULL, \"online\") ", (user_id, username, email, password_hash, registered)) connection.commit() -- cgit v1.2.3