summaryrefslogtreecommitdiffstats
path: root/flaskr/views/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'flaskr/views/auth.py')
-rw-r--r--flaskr/views/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/flaskr/views/auth.py b/flaskr/views/auth.py
index 3689eba..2dc32af 100644
--- a/flaskr/views/auth.py
+++ b/flaskr/views/auth.py
@@ -31,7 +31,7 @@ def register():
# (otherwise SQL injection vulnerability)
db.execute(
"INSERT INTO user (username, password) VALUES (?, ?)",
- (username, generate_password_hash(password)),
+ (username, generate_password_hash(password))
)
db.commit()
except db.IntegrityError: