aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-18 09:52:46 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-18 09:52:46 +0100
commitebc8cff3b4f15242ebed2bacf3811606171c1a38 (patch)
tree7c7c2c3f19d780dace5b2020a6b05df380526eaa /api
parent8c5618c497045a87cd2d9c663e695aeab95d24d7 (diff)
remove avatar column from users table
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 210ba94..0cd7628 100644
--- a/api/auth/signup.py
+++ b/api/auth/signup.py
@@ -48,7 +48,7 @@ def index():
password_hash = passwords.password_hash(password)
registered = int( time.time() * 1000 )
- cursor.execute("insert into users values (?, ?, ?, NULL, NULL, ?, ?, \"[]\", FALSE, \"user\", \"{}\", NULL, \"online\") ",
+ cursor.execute("insert into users values (?, ?, ?, NULL, NULL, ?, ?, \"[]\", FALSE, \"user\", \"{}\", \"online\") ",
(user_id, username, email, password_hash, registered))
connection.commit()