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.

  1. The user enters their email address.  This sends an email to their address with a link that they must click on
  2. 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.
  3. 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 nameTypeDescription
$show_changepassword_formboolUsed to determine whether to show the change password form or the forgot password form
$errorArrayUsed to show the error messages
$correctboolUsed 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.  

AreaPartDefaultUsage
<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>PasswordAs label for the Password input field
<br>Member Forgot Password<br><br>Label: Verify Password<br>Verify PasswordAs label for the Verify Password input field
<br>Member Forgot Password<br><br>Title: Forgotten Password<br>Forgotten PasswordTitle Forgotten Password
<br>Member Forgot Password<br><br>Warning: E-mailed your details<br>E-mailed your detailsWarning E-mailed your details
<br>Member Forgot Password<br><br>Warning: E-mail<br>E-mailWarning E-mail title
<br>Member Forgot Password<br><br>Label: E-mail<br>E-mailAs label for the E-mail input field

Related Aurora Demo Example Templates
templates/your-template-dir/members/forgotpassword.tpl.html