Skip to content

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Jul 8, 2025

When we store email addresses, we don't normalize them before storing them.
This is intentional, but it also means that whenever we want to match an email address, we should normalize it before comparing.

This affects the following:

  • logging in via email address
  • password reset via email address
  • making sure an email address is only used once

Fixes #4561

Copy link

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0405e95
Status: ✅  Deploy successful!
Preview URL: https://5d1af9e0.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-email-case-incensit.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose requested a review from reivilibre July 8, 2025 16:20
@sandhose sandhose merged commit 80f2cea into main Jul 10, 2025
22 of 23 checks passed
@sandhose sandhose deleted the quenting/email-case-incensitive branch July 10, 2025 15:12
@sandhose sandhose added the T-Enhancement New feature of request label Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Enhancement New feature of request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin API: Look up user by email should be case insensitive

2 participants