Skip to content

fix: unlinking an identity should respect the autoconfirm behaviour - #2682

Open
fadymak wants to merge 1 commit into
masterfrom
fm/auth-1428
Open

fix: unlinking an identity should respect the autoconfirm behaviour#2682
fadymak wants to merge 1 commit into
masterfrom
fm/auth-1428

Conversation

@fadymak

@fadymak fadymak commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Currently, when an identity is unlinked, if the identity being promoted to the new user.email is unverified, the user.email_confirmed_at field will be cleared. This is the correct behaviour, however, it does not respect the project's Mailer.Autoconfirm behaviour.

This PR respects the autoconfirm configuration and only clears email_confirmed_at when the promoted identity's email is unverified and autoconfirm is off

@fadymak
fadymak requested a review from a team as a code owner August 6, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant