Skip to content

Update email page with pending verification email messages prefilled with old email #43070

@martin-kanis

Description

@martin-kanis

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

login/ui

Describe the bug

When you are on update email page after a verification email was sent but not confirmed you will see old email pre-filled in the text field. The pending verification message says correctly, that confirmation email was sent to new email. If old email was empty, the text field is empty as well.

Version

main

Regression

  • The issue is a regression

Expected behavior

Text field should be pre-filled with the new email.

Actual behavior

Text field is be pre-filled with the old email.

How to Reproduce?

Have a realm with update email enabled with force email verification on | verify email on
Create a user with an email and assign update email required action
Try t authenticate with the user, change email and submit
verification email is sent
Try to authenticate with the user again
notice pending verification message correctly mentioning the new email
notice that text field is prefilled with the old email

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions