Skip to content

Downcase unconfirmed email before duplicate confirmation check - #5876

Open
SergiuLupaiescu wants to merge 1 commit into
heartcombo:mainfrom
SergiuLupaiescu:fix/confirmation-email-case
Open

SergiuLupaiescu wants to merge 1 commit into
heartcombo:mainfrom
SergiuLupaiescu:fix/confirmation-email-case

Conversation

@SergiuLupaiescu

Copy link
Copy Markdown

find_by_unconfirmed_email_with_errors renamed the :email key to :unconfirmed_email before filtering, so devise_parameter_filter never normalized the value. A mixed-case email missed the stored lowercase record and triggered a duplicate confirmation email.

Fixes #5862

@SergiuLupaiescu
SergiuLupaiescu force-pushed the fix/confirmation-email-case branch from 488f8bc to 33f6794 Compare October 20, 2026 06:26
@SergiuLupaiescu
SergiuLupaiescu marked this pull request as ready for review October 20, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Devise generation loads of confirmation_instructions mails on capitalized accounts

1 participant