fe21f9c6af
- Update django-allauth-cas to the last version. - Add docs (README, example/README). - Add tests for Clipper provider. - Add tests to check templates do not contain syntax error. - Add the last missing templates to override all allauth's displayable templates. - Improve stylesheets.
6 lines
181 B
Python
6 lines
181 B
Python
from allauth.account.adapter import DefaultAccountAdapter
|
|
|
|
|
|
class ClosedSignupAccountAdapter(DefaultAccountAdapter):
|
|
def is_open_for_signup(self, request):
|
|
return False
|