From 5e1e9f3e693aaa257ac08a260b37c64f42c0d9f0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DPA61F8\\Benedek" Date: Sun, 25 Apr 2021 18:09:43 +0200 Subject: [PATCH] Duplicate row in auth --- server/authentication.py | 1 - 1 file changed, 1 deletion(-) 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'))