2015-12-01 31 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

回答