Skip to content

Add emails_match and filter_by_email function and reuses that in all places. - #5075

Open
frjo wants to merge 6 commits into
mainfrom
enhancement/e-mail-check-normalise
Open

frjo wants to merge 6 commits into
mainfrom
enhancement/e-mail-check-normalise

Conversation

@frjo

@frjo frjo commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Hypha compare e-mails (username) and finds user account via e-mails in many places. This PR adds one set of util function for this that are then reused everywhere. The functions mimic how Django core handle this to a large extent.

Test Steps

  • Test Co-applicant invites work as before
  • Test that e-mail change work as before
  • Test that account creation work as before.
  • Test that BILL@gmail.com is treated as the same address as bill@gmail.com

@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Minor Minor change, used in release drafter labels Nov 27, 2026
@frjo
frjo requested a review from wes-otf November 27, 2026 08:22
@frjo
frjo force-pushed the enhancement/e-mail-check-normalise branch from 8295cee to ab83898 Compare November 30, 2026 12:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Minor Minor change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant