This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
forked from linnovate/mean
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset Password with better error handling and validation, Email from …
…moved to environment settings
- Loading branch information
Showing
7 changed files
with
44 additions
and
24 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
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,14 +1,21 @@ | ||
<div data-ng-controller="ResetPasswordCtrl" class="reset-password"> | ||
<div class="alert alert-danger animated fadeIn" ng-show="resetpassworderror">{{resetpassworderror}}</div> | ||
<h1>Enter your new password</h1> | ||
<form ng-submit="resetpassword()" class="reset form-horizontal"> | ||
<label for="password" class="reset-password"> Enter your new password</label> | ||
<div class="form-group enter-password"> | ||
<input id="password" type="password" name="password" class="form-control1" ng-model="user.password"/> | ||
<div class="alert alert-danger animated fadeIn" ng-show="resetpassworderror">{{resetpassworderror}}</div> | ||
<div ng-repeat="error in validationError"> | ||
<div class="alert alert-danger animated fadeIn">{{error.msg}}</div> | ||
</div> | ||
<div class="form-group save"> | ||
<button type="submit" class="btn btn-primary">Save</button> | ||
</div> | ||
</form> | ||
<h1>Enter your new password</h1> | ||
<form ng-submit="resetpassword()" class="reset form-horizontal"> | ||
<div class="form-group"> | ||
<label for="password" class="reset-password col-md-2"> Enter Password</label> | ||
<input id="password" type="password" name="password" ng-model="user.password"/> | ||
</div> | ||
<div class="form-group"> | ||
<label for="confirmPassword" class="col-md-2">Repeat Password</label> | ||
<input id="confirmPassword" type="password" name="confirmPassword" ng-model="user.confirmPassword"/> | ||
</div> | ||
<div class="form-group save"> | ||
<button type="submit" class="btn btn-primary">Save</button> | ||
</div> | ||
</form> | ||
</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
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