summaryrefslogtreecommitdiff
path: root/resources/views/edit-account-page.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/edit-account-page.phtml')
-rw-r--r--resources/views/edit-account-page.phtml8
1 files changed, 1 insertions, 7 deletions
diff --git a/resources/views/edit-account-page.phtml b/resources/views/edit-account-page.phtml
index 8337b38944..bb3065c6aa 100644
--- a/resources/views/edit-account-page.phtml
+++ b/resources/views/edit-account-page.phtml
@@ -89,7 +89,7 @@ use Fisharebest\Webtrees\View;
<?= I18N::translate('Password') ?>
</label>
<div class="col-sm-9 wt-page-options-value">
- <input class="form-control" type="password" id="password" name="password" aria-describedby="password-description" autocomplete="new-password">
+ <input class="form-control" type="password" id="password" name="password" aria-describedby="password-description" autocomplete="new-password" data-show-text="<?= e(I18N::translate('Show')) ?>" data-show-title="<?= e(I18N::translate('Show password')) ?>" data-hide-text="<?= e(I18N::translate('Hide')) ?>" data-hide-title="<?= e(I18N::translate('Hide password')) ?>">
<p class="small text-muted" id="password-description">
<?= I18N::translate('Passwords must be at least 8 characters long and are case-sensitive, so that “secret” is different from “SECRET”.') ?>
<br>
@@ -179,9 +179,3 @@ use Fisharebest\Webtrees\View;
</div>
</div>
<?php endif ?>
-
-<?php View::push('javascript') ?>
-<script>
- $('#password').hideShowPassword('infer', true);
-</script>
-<?php View::endpush() ?>