Skip to content

Commit

Permalink
Merge pull request #292 from hackupc/EncryptEx-patch-1
Browse files Browse the repository at this point in the history
FIX: Augment max login tries
  • Loading branch information
AdriMM26 committed Feb 15, 2024
2 parents 41e7f80 + af1b67f commit 730f468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _wrapped_view(request, *args, **kwargs):
except LoginRequest.DoesNotExist:
login_request = LoginRequest.objects.create(ip=client_ip, latestRequest=request_time)
login_request.save()
if login_request.login_tries < 4:
if login_request.login_tries < 14:
request.client_req_is_valid = True
else:
request.client_req_is_valid = False
Expand Down

0 comments on commit 730f468

Please sign in to comment.