This repository has been archived by the owner on Nov 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from jbarrett/password-recovery-changes
Password recovery changes
- Loading branch information
Showing
3 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<div class="notice error"> | ||
<i class="icn icon-warning-sign"></i> | ||
You will receive the new password instructions from <b>[email protected]</b>. Please add this email to your contact list of your email account, to assure the email is not landing in the spam folder. | ||
You will receive the new password instructions from <b>[email protected]</b>. Please add this email to your contact list of your email account, to assure the email is not landing in the spam folder.<br /> | ||
<b>Please note:</b> If you didn't link an email address to your account, then your password cannot be reset. | ||
</div> | ||
|
||
<: if $not_valid_username { :> | ||
|
@@ -13,20 +14,22 @@ | |
<h2>Request new password</h2> | ||
<: if $sentok { :> | ||
<p class="notice success"> | ||
<i class="icn icon-ok"></i> An email has been sent to you in order to confirm. | ||
<i class="icn icon-ok"></i>An email has been sent with instructions on how to reset your password. | ||
</p> | ||
<: } else { :> | ||
<: if $wrong_user_or_wrong_email { :> | ||
<: if $wrong_user { :> | ||
<p class="notice error"> | ||
<i class="icn icon-warning-sign"></i>The username and/or email is incorrect. Please, try again. | ||
<i class="icn icon-warning-sign"></i>This username is not registered. | ||
</p> | ||
<: } :> | ||
<: if $no_email { :> | ||
<p class="notice error"> | ||
<i class="icn icon-warning-sign"></i>There is no email address associated with this account. Your password cannot be reset. | ||
</p> | ||
<: } :> | ||
<div class="third"> | ||
<div class="input-wrap"><input placeholder="Your Username" type="text" name="username" value="<: $forgotpw_username :>" /></div> | ||
</div> | ||
<div class="third"> | ||
<div class="input-wrap"><input placeholder="Your Email Address" type="text" name="email" value="<: $forgotpw_email :>" /></div> | ||
</div> | ||
<div class="sixth"> | ||
<div class="input-wrap"><input type="submit" name="requestpw" class="button submit" value="Submit" /></div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters