You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Configure password resetting parameters using system properties.

Enable password retrieval


Use the simple.passwordreset.enabled system property to enable the password retrieval link on the portal login page. To set value to true, and perform the following steps:

  1. Navigate to Portal Structure → Widget Instance.
  2. Open the Authorization Widget record.
  3. Edit the Schema Option Values value:
    • Specify the true value for the passwordResetEnabled option.

The password reset email contains a link looking like:

<a href="{instance.uri.without.scheme}/new-password/{password.reset.token}">Your new password</a>

The password.reset.token value should be specified 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: 

  1. Navigate to System Properties → All Properties.
  2. Find the simple.user.password_reset_token_expiry property using the list search boxes and open it.
  3. Edit the Value field, specify an expiration time.
  4. Click Save or Save and Exit.

Change email content


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 message body of the unchanged password email.

To change system values, follow the steps below: 

  1. Navigate to System Properties → All Properties.
  2. Find the property you need to edit using the list search boxes or the condition builder and open it.
  3. Edit the Value field.
  4. Click Save or Save and Exit.

Change the link text


To change the Forgot Password link text, edit translations of the relevant source message. To do this, complete the steps below:

  1. Navigate to System Localization → Source Message.
  2. Find the necessary source message using the list search boxes.
  3. In the Related Lists are, select the Messages tab, open the message record or use the inline-edit functionality to edit messages.
    • If you open the message form, click Save or Save and Exit.

 

Do NOT change the Source Message value when editing messages. Otherwise, it may lead to errors.

  • No labels