diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-12 09:45:47 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-12 09:45:47 +0100 |
commit | d095a0b656373ec487e721bdcda25420907eb17b (patch) | |
tree | 841ec1137c77d03ef0689abc5dc63a61720bcbd0 /api/auth/signup.py | |
parent | 3fbbe86c5007ac82069feb342a462202d6a1a2b5 (diff) |
updated signup for new status column in sql
Diffstat (limited to 'api/auth/signup.py')
-rw-r--r-- | api/auth/signup.py | 2 |
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() |