This commit is contained in:
David Kennedy 2023-12-06 13:58:47 -05:00
parent 2e1ff849cf
commit 695b4199f3
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
4 changed files with 23 additions and 9 deletions

View file

@ -64,6 +64,10 @@ class User(AbstractUser):
def is_restricted(self):
return self.status == self.RESTRICTED
@classmethod
def needs_identity_verification(email, uuid):
return True
def check_domain_invitations_on_login(self):
"""When a user first arrives on the site, we need to retrieve any domain
invitations that match their email address."""