mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 15:11:09 -05:00
feat: Update account email verification settings to mandatory and enhance notification options
This commit is contained in:
@@ -199,7 +199,12 @@ AUTHENTICATION_BACKENDS = [
|
|||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
ACCOUNT_SIGNUP_FIELDS = ["email*", "username*", "password1*", "password2*"]
|
ACCOUNT_SIGNUP_FIELDS = ["email*", "username*", "password1*", "password2*"]
|
||||||
ACCOUNT_LOGIN_METHODS = {"email", "username"}
|
ACCOUNT_LOGIN_METHODS = {"email", "username"}
|
||||||
ACCOUNT_EMAIL_VERIFICATION = "optional"
|
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
|
||||||
|
ACCOUNT_EMAIL_VERIFICATION_SUPPORTS_CHANGE = True
|
||||||
|
ACCOUNT_EMAIL_VERIFICATION_SUPPORTS_RESEND = True
|
||||||
|
ACCOUNT_REAUTHENTICATION_REQUIRED = True
|
||||||
|
ACCOUNT_EMAIL_NOTIFICATIONS = True
|
||||||
|
ACCOUNT_EMAIL_UNKNOWN_ACCOUNTS = False
|
||||||
LOGIN_REDIRECT_URL = "/"
|
LOGIN_REDIRECT_URL = "/"
|
||||||
ACCOUNT_LOGOUT_REDIRECT_URL = "/"
|
ACCOUNT_LOGOUT_REDIRECT_URL = "/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user