Skip to content

Commit

Permalink
Disable django-allauth's rate limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
gounux committed Jan 8, 2025
1 parent 5d884f5 commit 8d5da06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-app/qfieldcloud/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@ def before_send(event, hint):
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 3
ACCOUNT_EMAIL_SUBJECT_PREFIX = ""

# Django allauth's RateLimiter configuration
# https://docs.allauth.org/en/latest/account/rate_limits.html
ACCOUNT_RATE_LIMITS = False

# Choose one of "mandatory", "optional", or "none".
# For local development and test use "optional" or "none"
ACCOUNT_EMAIL_VERIFICATION = os.environ.get("ACCOUNT_EMAIL_VERIFICATION")
Expand Down

0 comments on commit 8d5da06

Please sign in to comment.