mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-28 19:59:18 -04:00
Merge pull request #35 from alphagov/did-not-receive-code
Implementation for did not receive email or sms code
This commit is contained in:
@@ -60,7 +60,7 @@ class User(db.Model):
|
||||
return True
|
||||
|
||||
def is_active(self):
|
||||
if self.state == 'inactive':
|
||||
if self.state != 'active':
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user