Skip to content

The change password form is displayed when the reset link should be expired #1623

@aleksandrakorolova

Description

@aleksandrakorolova

Description:
The change password form is displayed when the reset link should be expired. Error message 'Error! Something went wrong' appears if user taps 'Update password'

Expected behavior:
Display a notification showing 'Your password reset link has expired.' on the changePassword page after submitting the form.

To Reproduce:

  1. Open Admin panel -> go to Stores > Settings > Configuration -> Customers -> Customer Configuration
  2. Enter '2' in the Recovery Link Expiration Period field
  3. Tap 'Save' -> Flush Cache Storage
  4. Open website -> Tap 'Sign in' -> Tap 'Forgot password' -> Enter email and tap 'Send'
  5. Open email -> open link in the letter
  6. After 2 hour open link

Actual result::
Link opens. Error message 'Error! Something went wrong' appears if user taps 'Update password' (not understandable for a client where an error)

Additional context:
If user tries to change the password, an error message will appear

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions