Skip to content

Commit f892acc

Browse files
committed
chore: Use codes for email verification
1 parent 51694cf commit f892acc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

uvdat/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
LOGIN_REDIRECT_URL = "/"
120120
ACCOUNT_LOGOUT_REDIRECT_URL = "/"
121121
ACCOUNT_SIGNUP_FORM_CLASS = "resonant_utils.allauth.FullNameSignupForm"
122+
ACCOUNT_EMAIL_VERIFICATION_BY_CODE_ENABLED = True
122123

123124
AUTHENTICATION_BACKENDS.append("guardian.backends.ObjectPermissionBackend")
124125
# django-guardian; raise PermissionDenied exception instead of redirecting to login page

0 commit comments

Comments
 (0)