aboutsummaryrefslogtreecommitdiff
path: root/api/auth/signup.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-12 18:56:52 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-12 18:56:52 +0100
commit5f391aadbcc818ab7fa13312fb2ee04ed02983c6 (patch)
tree59a50473839a26370b6d1a51cb430adb49b26536 /api/auth/signup.py
parentb8f3a658253bb5991a3d034733b685cc7d543704 (diff)
base /api/game/new
Diffstat (limited to 'api/auth/signup.py')
-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 a9e155c..e77f82d 100644
--- a/api/auth/signup.py
+++ b/api/auth/signup.py
@@ -26,7 +26,7 @@ def index():
if cursor.execute("select email from users where email = ?", [email]).fetchone():
return {"error": "email_taken"}, 403
- user_id = new_uuid()
+ user_id = new_uuid("users")
password_hash = passwords.password_hash(password)
registered = int( time.time() * 1000 )