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

4 statements  

« prev     ^ index     » next       coverage.py v7.7.0, created at 2025-04-03 12:11 +0000

1from allauth.account.adapter import DefaultAccountAdapter 

2 

3 

4class DisableSignUp(DefaultAccountAdapter): 

5 def is_open_for_signup(self, request): 

6 return False