This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented password reset core feature
- Loading branch information
Showing
10 changed files
with
268 additions
and
5 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<section class="row" data-ng-controller="AuthenticationController"> | ||
<h3 class="col-md-12 text-center">Forgot your password?</h3> | ||
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2"> | ||
<form data-ng-submit="forgot()" class="signin form-horizontal" autocomplete="off"> | ||
<fieldset> | ||
<div class="form-group"> | ||
<input type="text" id="email" name="email" class="form-control" data-ng-model="credentials.email" placeholder="Account Email"> | ||
</div> | ||
<div class="text-center form-group"> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</div> | ||
<div data-ng-show="error" class="text-center text-danger"> | ||
<strong>{{error}}</strong> | ||
</div> | ||
<div data-ng-show="success" class="text-center text-success"> | ||
<strong>{{success}}</strong> | ||
</div> | ||
</fieldset> | ||
</form> | ||
</div> | ||
</section> |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<section class="row" data-ng-controller="AuthenticationController"> | ||
<h3 class="col-md-12 text-center">Reset your password</h3> | ||
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2"> | ||
<form data-ng-submit="reset()" class="signin form-horizontal" autocomplete="off"> | ||
<fieldset> | ||
<div class="form-group"> | ||
<label for="newPassword">New Password</label> | ||
<input type="password" id="newPassword" name="newPassword" class="form-control" data-ng-model="passwordDetails.newPassword" placeholder="New Password"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="verifyPassword">Verify Password</label> | ||
<input type="password" id="verifyPassword" name="verifyPassword" class="form-control" data-ng-model="passwordDetails.verifyPassword" placeholder="Verify Password"> | ||
</div> | ||
<div class="text-center form-group"> | ||
<button type="submit" class="btn btn-large btn-primary">Update Password</button> | ||
</div> | ||
<div data-ng-show="error" class="text-center text-danger"> | ||
<strong>{{error}}</strong> | ||
</div> | ||
<div data-ng-show="success" class="text-center text-success"> | ||
<strong>{{success}}</strong> | ||
</div> | ||
</fieldset> | ||
</form> | ||
</div> | ||
</section> |
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