There are two ways to set up a password retrieval:
Use the simple.passwordreset.enabled system property to enable the password retrieval link on the portal login page, and perform the following steps:
The password reset email contains the following link:
Specify the password.reset.token value in the Password Reset Token field for the user who retrieved a password. |
Use simple.user.password_reset_token_expiry property to define the password reset expiration period in seconds. To set up the period, complete the following steps:
The following messages appear on the widget in case the password retrieval failed:
/reset-password
page with the simple.passwordreset.enabled system property disabled. Wrong password reset token. This error occurs when attempting to reset a password after the expiration of the reset token. Set the life period of the token in the simple.user.password_reset_token_expiry property.
Edit the email.reset_password.subject and email.reset_password.email_body system property values to change the password retrieval email subject and body.
Use the email.reset_password.unchanged_password property to edit the body of the email about an unchanged password.
To change system values, follow the steps below:
To change the Forgot Password link text, edit translations of the relevant source message. To do this, complete the steps below:
Do NOT change the Source Message value when editing messages. Otherwise, it may lead to errors. |
To set up a custom authorization widget, perform the following steps:
As a result, the widget form will contain a password reset link.