aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar flo0627 <40920856+flo0627@users.noreply.github.com> 2020-10-03 13:35:49 +0200
committerGravatar GitHub <noreply@github.com> 2020-10-03 13:35:49 +0200
commit6e610e501d10776d117f7e40225d6f083a6f71b1 (patch)
treeca0ddf9aa0196d91c87795c84269ac643fe004cb /app
parentf79194f4a6ddff6cfbccc9075621074b80a97573 (diff)
Add toggle password visibility button on login form (#3205)
* Add password observer for login view and update Origine theme * Update Alternative-Dark style * Update BlueLagoon theme * Update Dark theme * Update Flat theme * Update Screwdriver theme * Update Origine-compact theme * Update Pafat theme * Coding style
Diffstat (limited to 'app')
-rw-r--r--app/views/auth/formLogin.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml
index 52545351e..dfff64ffb 100644
--- a/app/views/auth/formLogin.phtml
+++ b/app/views/auth/formLogin.phtml
@@ -15,7 +15,10 @@
<div class="form-group">
<label for="passwordPlain"><?= _t('gen.auth.password') ?></label>
- <input type="password" id="passwordPlain" required="required" />
+ <div class="stick">
+ <input type="password" id="passwordPlain" required="required" />
+ <a class="btn toggle-password" data-toggle="passwordPlain"><?= _i('key') ?></a>
+ </div>
<input type="hidden" id="challenge" name="challenge" />
<noscript><strong><?= _t('gen.js.should_be_activated') ?></strong></noscript>
</div>