Skip to content

Commit 77db2d8

Browse files
author
Mateusz Sikora
committed
change auth method demo app
1 parent ba5edba commit 77db2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/demo/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
104104
SITE_ID = 1
105105
ACCOUNT_EMAIL_REQUIRED = True
106-
ACCOUNT_AUTHENTICATION_METHOD = 'email'
106+
ACCOUNT_AUTHENTICATION_METHOD = 'username'
107107
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
108108

109109
REST_FRAMEWORK = {

0 commit comments

Comments
 (0)