Skip to content

Commit

Permalink
allauth: login after email confirmation (#11346)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed May 23, 2024
1 parent 964926c commit 266ea25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ def DOCKER_LIMITS(self):
# Make email verification mandatory.
# Users won't be able to login until they verify the email address.
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True

ACCOUNT_AUTHENTICATION_METHOD = "username_email"
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 7
Expand Down

0 comments on commit 266ea25

Please sign in to comment.