Skip to content

Commit 5732560

Browse files
authored
[5.3] Login Module show password (joomla#45626)
1 parent dfff995 commit 5732560

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/mod_login/tmpl/default.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@
6060
</div>
6161
<?php else : ?>
6262
<label for="modlgn-passwd-<?php echo $module->id; ?>"><?php echo Text::_('JGLOBAL_PASSWORD'); ?></label>
63-
<input id="modlgn-passwd-<?php echo $module->id; ?>" type="password" name="password" autocomplete="current-password" class="form-control" placeholder="<?php echo Text::_('JGLOBAL_PASSWORD'); ?>">
63+
<div class="input-group">
64+
<input id="modlgn-passwd-<?php echo $module->id; ?>" type="password" name="password" autocomplete="current-password" class="form-control" placeholder="<?php echo Text::_('JGLOBAL_PASSWORD'); ?>">
65+
<button type="button" class="btn btn-secondary input-password-toggle">
66+
<span class="icon-eye icon-fw" aria-hidden="true"></span>
67+
<span class="visually-hidden"><?php echo Text::_('JSHOWPASSWORD'); ?></span>
68+
</button>
69+
</div>
6470
<?php endif; ?>
6571
</div>
6672

0 commit comments

Comments
 (0)