aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/auth/signup.py2
1 files changed, 1 insertions, 1 deletions
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()