add additional check

This commit is contained in:
zandercymatics 2024-07-17 11:17:41 -06:00
parent 2d1ae881eb
commit 57bf284291
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -115,7 +115,8 @@ class User(AbstractUser):
self.title, self.title,
self.phone, self.phone,
] ]
return None not in user_values or "" not in user_values
return None not in user_values and "" not in user_values
def __str__(self): def __str__(self):
# this info is pulled from Login.gov # this info is pulled from Login.gov