|
|
@@ -18,7 +18,7 @@
|
|
|
|
|
|
</div>
|
|
|
</form>
|
|
|
- <div ng-if="mode === 'email-sent'">
|
|
|
+ <div ng-show="mode === 'email-sent'">
|
|
|
An email with a reset link as been sent to the email address. <br>
|
|
|
You should receive it shortly.
|
|
|
<div class="p-t-1">
|
|
|
@@ -27,5 +27,23 @@
|
|
|
</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <form name="resetForm" class="login-form gf-form-group" ng-show="mode === 'reset'">
|
|
|
+ <div class="gf-form">
|
|
|
+ <span class="gf-form-label width-9">New Password</span>
|
|
|
+ <input type="password" name="NewPassword" class="gf-form-input max-width-14" required ng-minlength="4" ng-model='formModel.newPassword' placeholder="password" watch-change="formModel.newPassword = inputValue;">
|
|
|
+ </div>
|
|
|
+ <div class="gf-form">
|
|
|
+ <span class="gf-form-label width-9">Confirm Password</span>
|
|
|
+ <input type="password" name="ConfirmPassword" class="gf-form-input max-width-14" required ng-minlength="4" ng-model='formModel.confirmPassword' placeholder="confirm password">
|
|
|
+ </div>
|
|
|
+ <div class="signup__password-strength">
|
|
|
+ <password-strength password="formModel.newPassword"></password-strength>
|
|
|
+ </div>
|
|
|
+ <div class="gf-form-button-row">
|
|
|
+ <button type="submit" class="btn btn-success" ng-click="submitReset();" ng-disabled="!resetForm.$valid">
|
|
|
+ Reset Password
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
</div>
|
|
|
</div>
|