Members: Forgot Password
The Forgot Password area is used for all Users within Aurora, whether they are admins or standard users.
This article describes how to access and reset a Forgot Password and provides a list of variables made available to the Front-end Templates.
Introduction
The Forgot Password page allows your customers/users to reset their forgotten password on the Aurora Front-end.
Forgot Password process
There are 3 stages to the forgotten password process.
- The user enters their email address. This sends an email to their address with a link that they must click on
- The user returns to the site where they can enter their new password. They must enter it twice in order to make sure they entered it correctly.
- The users submission is confirmed and their password is updated.
The email the User receives contains a unique URL that validates who they are. It also will only last for 60 minutes as a security procedure, so this means if someone clicks on the link 61 minutes after it was sent it will no longer work.
Where to access the Forgot Password Page
You can navigate to it from Login menu at the top and then selecting the "Forgotten Password?" link in the Login section of the page. Please see the example provided by the Aurora Demo Store below.
https://demo.auroracommerce.com/members/forgotpassword
Where to find the Forgot Password Page Templates
The template that should be used to control the content of the Forgot Password Page should be placed inside your template directory and named as follows:
templates/your-template-dir/members/forgotpassword.tpl.html
Variables available in the Forgot Password page
The following is a list of variables that can be accessed by the Aurora Front-end Templates.
Variable name | Type | Description |
---|---|---|
$show_changepassword_form | bool | Used to determine whether to show the change password form or the forgot password form |
$error | Array | Used to show the error messages |
$correct | bool | Used to determine whether to show the success message (changing password success and email sent success) |
Site Text
The below are uses of Site Text that are output into the templates.
Area | Part | Default | Usage |
---|---|---|---|
<br>Member Forgot Password<br> | <br>Warning: Password Updated<br> | <br>Password Updated<br> | Warning successful password update |
<br>Member Forgot Password<br> | <br>Warning: Enter Password<br> | <br>Enter Password<br> | Warning Enter Password title |
<br>Member Forgot Password<br> | <br>Label: Password<br> | Password | As label for the Password input field |
<br>Member Forgot Password<br> | <br>Label: Verify Password<br> | Verify Password | As label for the Verify Password input field |
<br>Member Forgot Password<br> | <br>Title: Forgotten Password<br> | Forgotten Password | Title Forgotten Password |
<br>Member Forgot Password<br> | <br>Warning: E-mailed your details<br> | E-mailed your details | Warning E-mailed your details |
<br>Member Forgot Password<br> | <br>Warning: E-mail<br> | Warning E-mail title | |
<br>Member Forgot Password<br> | <br>Label: E-mail<br> | As label for the E-mail input field |
Related Aurora Demo Example Templates
templates/your-template-dir/members/forgotpassword.tpl.html
Updated over 2 years ago