Skip to content

Commit

Permalink
Prevent password suggestion for xml_auth fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Massi-X committed Dec 21, 2024
1 parent dbfae84 commit cc447f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions page.carddavmiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@
<div class="col-md-9">
<div class="input-line">
<div class="inner-label">
<label for="xml_auth_user"><?= _('User'); ?></label><input type="text" pattern=".{3,}" title="<?= _('Minimum length is 3 characters'); ?>" class="form-control" id="xml_auth_user" name="xml_auth_user" placeholder="<?= _('Empty'); ?>" value="<?= Core::get_xml_auth()['username']; ?>">
<label for="xml_auth_user"><?= _('User'); ?></label><input type="text" autocomplete="off" pattern=".{3,}" title="<?= _('Minimum length is 3 characters'); ?>" class="form-control" id="xml_auth_user" name="xml_auth_user" placeholder="<?= _('Empty'); ?>" value="<?= Core::get_xml_auth()['username']; ?>">
</div>
<div class="inner-label">
<label for="xml_auth_psw"><?= _('Password'); ?></label><input type="password" pattern=".{3,}" title="<?= _('Minimum length is 3 characters'); ?>" class="form-control" id="xml_auth_psw" name="xml_auth_psw" placeholder="<?= _('Empty'); ?>" value="<?= Core::get_xml_auth()['password']; ?>">
<label for="xml_auth_psw"><?= _('Password'); ?></label><input autocomplete="off" type="password" pattern=".{3,}" title="<?= _('Minimum length is 3 characters'); ?>" class="form-control" id="xml_auth_psw" name="xml_auth_psw" placeholder="<?= _('Empty'); ?>" value="<?= Core::get_xml_auth()['password']; ?>">
</div>
</div>
</div>
Expand Down

0 comments on commit cc447f3

Please sign in to comment.