Compare commits
2 Commits
56bc0f2d69
...
3c35ac4075
Author | SHA1 | Date | |
---|---|---|---|
3c35ac4075 | |||
3d6f50399c |
@ -85,7 +85,7 @@ class UserService:
|
|||||||
with db_connection.cursor(dictionary=True) as cursor:
|
with db_connection.cursor(dictionary=True) as cursor:
|
||||||
|
|
||||||
cursor.execute("select id, password from user where username = %s", (username,))
|
cursor.execute("select id, password from user where username = %s", (username,))
|
||||||
result = db_cursor.fetchone()
|
result = cursor.fetchone()
|
||||||
|
|
||||||
user_id = result['id']
|
user_id = result['id']
|
||||||
password_hash = result['password']
|
password_hash = result['password']
|
||||||
|
@ -4,4 +4,6 @@ mysql-connector-python==8.3.0
|
|||||||
python-dotenv==1.0.1
|
python-dotenv==1.0.1
|
||||||
Flask-JWT-Extended==4.5.3
|
Flask-JWT-Extended==4.5.3
|
||||||
PyJWT==2.8.0
|
PyJWT==2.8.0
|
||||||
Flask-Mail==0.9.1
|
Flask-Mail==0.9.1
|
||||||
|
redis==4.5.4
|
||||||
|
bcrypt==4.1.2
|
Loading…
x
Reference in New Issue
Block a user