File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -205,14 +205,15 @@ def _split_env_list(key):
205205#로그인 관련 셋팅
206206LOGIN_REDIRECT_URL = '/'
207207LOGOUT_REDIRECT_URL = '/'
208- SOCIALACCOUNT_AUTO_SIGNUP = True
209- SOCIALACCOUNT_LOGIN_ON_GET = True
210- SOCIALACCOUNT_ADAPTER = 'apps.users.adapter.MySocialAccountAdapter'
208+
211209
212210# 이메일 로그인 관련 설정
213211ACCOUNT_LOGIN_METHODS = {"email" }
214- ACCOUNT_SIGNUP_FIELDS = ["email*" , "password1*" , "password2*" ]
212+ ACCOUNT_SIGNUP_FIELDS = ["username*" , " email*" , "password1*" , "password2*" ]
215213ACCOUNT_UNIQUE_EMAIL = True #이메일 중복 허용 불가
214+ SOCIALACCOUNT_AUTO_SIGNUP = True
215+ SOCIALACCOUNT_LOGIN_ON_GET = True
216+ SOCIALACCOUNT_ADAPTER = 'apps.users.adapter.MySocialAccountAdapter'
216217
217218AUTHENTICATION_BACKENDS = (
218219 #추가 장고에서 사용자의 이름을 기준으로 로그인하도록 설정
You can’t perform that action at this time.
0 commit comments