mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
<page-header model="navModel"></page-header>
|
|
|
|
<div class="page-container page-body">
|
|
<h3 class="page-sub-heading">
|
|
Change your password
|
|
</h3>
|
|
|
|
<div ng-if="ldapEnabled || authProxyEnabled">
|
|
You cannot change password when ldap or auth proxy authentication is enabled.
|
|
</div>
|
|
|
|
<form name="userForm" class="gf-form-group" ng-hide="ldapEnabled || authProxyEnabled">
|
|
<div class="gf-form">
|
|
<span class="gf-form-label width-10">Old Password</span>
|
|
<input class="gf-form-input max-width-21" type="password" required ng-model="command.oldPassword">
|
|
</div>
|
|
|
|
<div class="gf-form">
|
|
<span class="gf-form-label width-10">New Password</span>
|
|
<input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.newPassword">
|
|
</div>
|
|
|
|
<div class="gf-form">
|
|
<span class="gf-form-label width-10">Confirm Password</span>
|
|
<input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.confirmNew">
|
|
</div>
|
|
|
|
<div class="gf-form-button-row">
|
|
<button type="submit" class="btn btn-primary" ng-click="changePassword()">Change Password</button>
|
|
<a class="btn-text" href="profile">Cancel</a>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
|