Skip to content

Commit

Permalink
authentication method reconfiger
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEZE1020 committed Jan 12, 2025
1 parent 7989721 commit 4e2694c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions social_media_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'

ACCOUNT_AUTHENTICATION_METHOD = 'username'

# Email Verification
ACCOUNT_EMAIL_VERIFICATION = 'none'
ACCOUNT_EMAIL_REQUIRED = False
Expand All @@ -91,8 +91,8 @@


# Allauth settings
ACCOUNT_AUTHENTICATION_METHOD = 'username_email'
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
ACCOUNT_AUTHENTICATION_METHOD = 'username'
#ACCOUNT_EMAIL_VERIFICATION = 'mandatory'


TEMPLATES = [
Expand Down

0 comments on commit 4e2694c

Please sign in to comment.