diff --git a/server/authentication.py b/server/authentication.py index dbc5e17..22897dd 100644 --- a/server/authentication.py +++ b/server/authentication.py @@ -47,7 +47,6 @@ class Authetication: for user in data['user']: if username == user['username']: - b64pwd = b64encode(SHA256.new(password.encode('utf-8')).digest()) try: b64pwd = b64encode(SHA256.new(password.encode('utf-8')).digest()) bcrypt_check(b64pwd, user['password'].encode('utf-8'))