Navigation: Fix navigation when new password is chosen (#20747)

This commit is contained in:
Peter Holmberg
2019-11-29 07:38:03 -08:00
committed by Torkel Ödegaard
parent 71792d698b
commit b3816a2727
2 changed files with 37 additions and 33 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<div ng-if="disableLoginForm">
You cannot reset password when login form is disabled.
</div>
<form name="sendResetForm" class="login-form gf-form-group" ng-show="mode === 'send'" ng-hide="ldapEnabled || authProxyEnabled || disableLoginForm">
<form name="sendResetForm" class="login-form gf-form-group" ng-show="mode === 'send'" ng-hide="ldapEnabled || authProxyEnabled || disableLoginForm || mode === 'reset'">
<div class="gf-form">
<span class="gf-form-label width-7">User</span>
<input type="text" name="username" class="gf-form-input max-width-14" required ng-model='formModel.userOrEmail' placeholder="email or username">