Pergunta

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.

Foi útil?

Solução

Use the following setting:

SOCIALACCOUNT_EMAIL_VERIFICATION = "none"
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top