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

4 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-06-19 08:36 +0000

1from allauth.account.adapter import DefaultAccountAdapter 

2 

3 

4class DisableSignUp(DefaultAccountAdapter): 

5 def is_open_for_signup(self, request): 

6 return False