Skip to content

Commit c7a7694

Browse files
authored
Merge pull request #28 from endlessm/T35763-social-account-email-optional
settings: Make email addresses optional for social accounts
2 parents a444827 + b2b32b5 commit c7a7694

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eosidp/settings/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@
135135
ACCOUNT_SIGNUP_FORM_CLASS = 'main.forms.SignupForm'
136136
ACCOUNT_SIGNUP_EMAIL_ENTER_TWICE = True
137137

138+
# For social accounts, emails are optional as the provider is handling
139+
# authentication of the user.
140+
SOCIALACCOUNT_EMAIL_REQUIRED = False
141+
SOCIALACCOUNT_EMAIL_VERIFICATION = 'optional'
142+
138143

139144
# Social account provider settings
140145
SOCIALACCOUNT_PROVIDERS = {}

0 commit comments

Comments
 (0)