set up step_up_auth using stubbed out User.needs_identity_verification

This commit is contained in:
David Kennedy 2023-12-06 15:49:21 -05:00
parent 695b4199f3
commit f6a288f511
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 15 additions and 10 deletions

View file

@ -65,7 +65,7 @@ class User(AbstractUser):
return self.status == self.RESTRICTED
@classmethod
def needs_identity_verification(email, uuid):
def needs_identity_verification(cls, email, uuid):
return True
def check_domain_invitations_on_login(self):