2015-12-01 32 views
1

将django-allauth与网站集成后,任何人都可以通过点击社交应用登录或直接注册来注册。应该做些什么才能让特定用户注册?Django-allauth白名单特定用户注册

通过django-allauth文档搜索后,我没有发现任何相关配置。但是,python-social-auth提供了下面问题中描述的WhiteList。

Specifying whitelist of domain names still allows others to authenticate with python social auth and django

+0

有人知道吗?我是这个白名单的新手。 – coder

+0

我想一些适配器需要在django-allauth中实现,http://stackoverflow.com/questions/19113623/django-allauth-only-allow-users-from-a-specific-google-apps-domain?rq= 1 – coder

回答