diff --git a/db_logic/user.py b/db_logic/user.py index 906078c..3243c4a 100644 --- a/db_logic/user.py +++ b/db_logic/user.py @@ -32,7 +32,7 @@ class BllUser(Repository): ) if user_info: if user_info.is_enabled: - if user_info.password == Utils.MD5(password): + if str(user_info.password).lower() == Utils.MD5(password).lower(): self.last_visit_date=Utils.get_str_datetime() self.update(user_info) return self.get_jwt(user_info), user_info