Compare commits

..

No commits in common. "81ea634b3ade287b173201f2a5c0406bc3c55368" and "42fff36545032792c4223b0e834a5dc23d121845" have entirely different histories.

View File

@ -47,6 +47,7 @@ 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'))