Correct login landing page

This commit is contained in:
2025-09-26 00:28:15 +02:00
parent b0190336b0
commit 823884d265
25 changed files with 373 additions and 515 deletions

View File

@@ -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']