Skip to content

Commit

Permalink
Merge pull request #934 from GSA/check-db-notification-fails
Browse files Browse the repository at this point in the history
make email_address check case insensitive
  • Loading branch information
ccostino authored Apr 18, 2024
2 parents 5231947 + 65c8704 commit 8414fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/dao/users_dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def get_login_gov_user(login_uuid, email_address):

return user
# Remove this 1 July 2025, all users should have login.gov uuids by now
user = User.query.filter_by(email_address=email_address).first()
user = User.query.filter(User.email_address.ilike(email_address)).first()

if user:
save_user_attribute(user, {"login_uuid": login_uuid})
return user
Expand Down

0 comments on commit 8414fd2

Please sign in to comment.