summaryrefslogtreecommitdiffstats
path: root/flaskr/views/auth.py
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-10-28 11:44:09 -0500
committerMitsuo Tokumori <[email protected]>2023-10-28 11:44:09 -0500
commitcafc557c6820e1808b1e4cf71f58ff99b97ca545 (patch)
tree486f6a0f082bbc3e744cd2f59ab1704ff5edc416 /flaskr/views/auth.py
parent72d24988ce8bcf1e5fe841d0ef47532bea08a432 (diff)
downloadustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.tar.gz
ustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.tar.bz2
ustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.zip
Add blueprint blog
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: