return None to handle new user

This commit is contained in:
Kenneth Kehl
2024-03-29 07:44:35 -07:00
parent 5fbc7ddd2d
commit 0131ea0f1e
2 changed files with 6 additions and 4 deletions

View File

@@ -36,7 +36,6 @@ def get_login_gov_user(login_uuid, email_address):
should be removed.
"""
print(User.query.filter_by(login_uuid=login_uuid).first())
user = User.query.filter_by(login_uuid=login_uuid).first()
if user:
if user.email_address != email_address: