Coverage for sites/ptf_tools/ptf_tools/allauth_adapter.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2024-02-28 09:09 +0000

1from allauth.account.adapter import DefaultAccountAdapter 

2 

3 

4class DisableSignUp(DefaultAccountAdapter): 

5 def is_open_for_signup(self, request): 

6 return False