summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-10-19 12:04:20 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-10-20 00:35:51 +0200
commit2d6cd78c3299fe343637f08d780ecb2646b33172 (patch)
tree2a5f99b9c251d6511a72deaf07b2b0303a3e2e13 /apps/user_ldap
parenta6c450b481e439e23be166c84c6fcda45a6a2ebb (diff)
downloadnextcloud-server-2d6cd78c3299fe343637f08d780ecb2646b33172.tar.gz
nextcloud-server-2d6cd78c3299fe343637f08d780ecb2646b33172.zip
fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/templates/renewpassword.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php
index 51cf898e133..5b51c5fc6d8 100644
--- a/apps/user_ldap/templates/renewpassword.php
+++ b/apps/user_ldap/templates/renewpassword.php
@@ -30,7 +30,7 @@ style('user_ldap', 'renewPassword');
<p class="grouptop">
<input type="password" id="oldPassword" name="oldPassword"
placeholder="<?php echo $l->t('Current password');?>"
- autofocus autocomplete="off" autocapitalize="off" autocorrect="off" required/>
+ autofocus autocomplete="off" autocapitalize="off" spellcheck="false" required/>
<label for="oldPassword" class="infield"><?php p($l->t('Current password')); ?></label>
</p>
@@ -39,7 +39,7 @@ style('user_ldap', 'renewPassword');
<label id="newPassword-label" for="newPassword" class="infield"><?php p($l->t('New password')); ?></label>
<input type="password" id="newPassword" name="newPassword"
placeholder="<?php echo $l->t('New password');?>"
- data-typetoggle="#personal-show" autofocus autocomplete="off" autocapitalize="off" autocorrect="off" required/>
+ data-typetoggle="#personal-show" autofocus autocomplete="off" autocapitalize="off" spellcheck="false" required/>
</p>
<input type="submit" id="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Renew password')); ?>"/>