aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-12 09:45:42 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-12 09:45:42 +0100
commit03ab61d435b3654b2fad9a8c8b6dad085a1e9677 (patch)
tree938feb145a4ae36443eba0b1c337b857192d8604
parenta327e3c6daee76d1ee3604a0fff1a827514f3b54 (diff)
parentd095a0b656373ec487e721bdcda25420907eb17b (diff)
Merge branch 'master' of github.com:lonkaars/po-4-op-een-rij
-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()