summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2021-10-25 12:24:31 +0200
committerGitHub <noreply@github.com>2021-10-25 12:24:31 +0200
commit317d97309fa3fcf7fe8cea8d39679d0e41f9313e (patch)
tree83a27d773f79e67ab3fe1c815453976127ee9192 /apps/settings/templates
parentd231d2618de78b87cbc3916109652f0432fee607 (diff)
parentb7a35afcf140c4ee442acd2ff4f9f6afa0533706 (diff)
downloadnextcloud-server-317d97309fa3fcf7fe8cea8d39679d0e41f9313e.tar.gz
nextcloud-server-317d97309fa3fcf7fe8cea8d39679d0e41f9313e.zip
Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete
Add autocompletion for password reset
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/personal/security/password.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/templates/settings/personal/security/password.php b/apps/settings/templates/settings/personal/security/password.php
index 5ffa9aaf8bc..88536ab6b23 100644
--- a/apps/settings/templates/settings/personal/security/password.php
+++ b/apps/settings/templates/settings/personal/security/password.php
@@ -41,14 +41,14 @@ if ($_['passwordChangeSupported']) {
<label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php p($l->t('Current password'));?>"
- autocomplete="off" autocapitalize="none" autocorrect="off" />
+ autocomplete="current-password" autocapitalize="none" autocorrect="off" />
<div class="personal-show-container">
<label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
<input type="password" id="pass2" name="newpassword"
placeholder="<?php p($l->t('New password')); ?>"
data-typetoggle="#personal-show"
- autocomplete="off" autocapitalize="none" autocorrect="off" />
+ autocomplete="new-password" autocapitalize="none" autocorrect="off" />
<input type="checkbox" id="personal-show" class="hidden-visually" name="show" /><label for="personal-show" class="personal-show-label"></label>
</div>