Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 80412e3

Browse files
committed
Fix password input type
1 parent 0161a5f commit 80412e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/user/login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
->begin() ?>
3737

3838
<?= $field->config($form, 'username') ?>
39-
<?= $field->config($form, 'password') ?>
39+
<?= $field->config($form, 'password')->passwordInput() ?>
4040

4141
<?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
4242

resources/views/user/register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
->begin() ?>
3636

3737
<?= $field->config($form, 'username') ?>
38-
<?= $field->config($form, 'password') ?>
38+
<?= $field->config($form, 'password')->passwordInput() ?>
3939

4040

4141
<?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>

0 commit comments

Comments
 (0)