Correct login landing page
This commit is contained in:
@@ -47,7 +47,7 @@ def login() :
|
||||
|
||||
if user_exist:
|
||||
user = user_exist[0]
|
||||
passwd_bcrypt = user_exist[1].decode()
|
||||
passwd_bcrypt = user_exist[1]
|
||||
|
||||
if user == request.form['user'] and bcrypt.check_password_hash(passwd_bcrypt, password) is True:
|
||||
session['username'] = request.form['user']
|
||||
|
||||
Reference in New Issue
Block a user