diff options
Diffstat (limited to 'api/auth')
-rw-r--r-- | api/auth/signup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/api/auth/signup.py b/api/auth/signup.py index 571adb4..180322a 100644 --- a/api/auth/signup.py +++ b/api/auth/signup.py @@ -70,7 +70,10 @@ def index(): # write new user to database and commit cursor.execute( "insert into users values (?, ?, ?, NULL, NULL, ?, ?, \"[]\", FALSE, \"user\", \"{}\", ?) ", - (user_id, username, email, password_hash, registered, bcrypt.gensalt()) + ( + user_id, username, email, password_hash, registered, + bcrypt.gensalt() + ) ) connection.commit() |