django-allauth与网站集成后,任何人都可以通过点击社交应用登录或直接注册来注册。如何才能让特定用户注册?
在搜索django-allauth文档后,我没有找到任何相关的配置。但是,python-social-auth提供了下面问题中描述的WhiteList。
答案 0 :(得分:0)
按照django-allauth: Only allow users from a specific google apps domain
的类似方法解决注意:如果您关闭本地帐户注册,则必须单独启用社交注册!