Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai committed Sep 28, 2023
1 parent c9f0451 commit 2703caf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/user/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ def verify_user_password(user_id):
increment_failed_login_count(user_to_verify)
# We want to get the user again to check the failed login count
user_to_verify = get_user_by_id(user_id=user_id)
import pdb; pdb.set_trace()
if user_to_verify.failed_login_count >= current_app.config["FAILED_LOGIN_LIMIT"]:
message = "Failed login: Incorrect password for user_id {user_id} failed_login {failed_login_count} times".format(
user_id=user_id, failed_login_count=user_to_verify.failed_login_count
Expand Down

0 comments on commit 2703caf

Please sign in to comment.