aboutsummaryrefslogtreecommitdiff
path: root/app/views/auth
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-11-11 20:07:10 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-11 20:07:10 +0100
commita29894610ba5021a998389e2d72b0756b564574a (patch)
treeedf281d11a8a45b0e05cd48626a3224a9679d7ac /app/views/auth
parent079b7b961f0eb152debc2e8df3ff99d6e59fe070 (diff)
a to button (#3969)
Diffstat (limited to 'app/views/auth')
-rw-r--r--app/views/auth/formLogin.phtml2
-rw-r--r--app/views/auth/register.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml
index 0f3910a3c..05a73f39e 100644
--- a/app/views/auth/formLogin.phtml
+++ b/app/views/auth/formLogin.phtml
@@ -18,7 +18,7 @@
<label for="passwordPlain"><?= _t('gen.auth.password') ?></label>
<div class="stick">
<input type="password" id="passwordPlain" required="required" />
- <a class="btn toggle-password" data-toggle="passwordPlain"><?= _i('key') ?></a>
+ <button type="button" class="btn toggle-password" data-toggle="passwordPlain"><?= _i('key') ?></button>
</div>
<input type="hidden" id="challenge" name="challenge" />
<noscript><strong><?= _t('gen.js.should_be_activated') ?></strong></noscript>
diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml
index 96794d8b2..3300896e6 100644
--- a/app/views/auth/register.phtml
+++ b/app/views/auth/register.phtml
@@ -34,7 +34,7 @@
<label for="new_user_passwordPlain"><?= _t('gen.auth.password') ?></label>
<div class="stick">
<input type="password" id="new_user_passwordPlain" name="new_user_passwordPlain" required="required" autocomplete="new-password" pattern=".{7,}" />
- <a class="btn toggle-password" data-toggle="new_user_passwordPlain"><?= _i('key') ?></a>
+ <button type="button" class="btn toggle-password" data-toggle="new_user_passwordPlain"><?= _i('key') ?></button>
</div>
<noscript><b><?= _t('gen.js.should_be_activated') ?></b></noscript>
<p class="help"><?= _i('help') ?> <?= _t('gen.auth.password.format') ?></p>