1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 01:36:18 +00:00

fix password reset button

This commit is contained in:
Benjamin Gamard
2018-02-14 12:32:50 +01:00
parent f8278bd44e
commit bd51e2ab55

View File

@@ -112,7 +112,7 @@
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="button" class="btn btn-warning" ng-click="passwordReset()" ng-show="user.username != 'guest'">
<button type="button" class="btn btn-warning" ng-click="passwordReset()" ng-show="isEdit() && user.username != 'guest'">
<span class="glyphicon glyphicon-repeat"></span> {{ 'settings.user.edit.password_reset_btn' | translate }}
</button>
</div>