質問

My site using django-allauth allows both social and traditional logins. Given that users have already verified their email addrs when signing up for external social accounts, I don't see the need to make them go through that process again.

I'd like to be able to require email confirmation for standard accounts but not for social signups. The ACCOUNT_EMAIL_VERIFICATION options don't seem to allow for this flexibility. Is there a way to require verification for standard accounts but not for social accounts? Thanks.

役に立ちましたか?

解決

Use the following setting:

SOCIALACCOUNT_EMAIL_VERIFICATION = "none"
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top