From cafc557c6820e1808b1e4cf71f58ff99b97ca545 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sat, 28 Oct 2023 11:44:09 -0500 Subject: Add blueprint blog --- flaskr/views/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flaskr/views/auth.py') 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: -- cgit v1.2.3