From 2d6cd78c3299fe343637f08d780ecb2646b33172 Mon Sep 17 00:00:00 2001
From: "Grigorii K. Shartsev"
Date: Thu, 19 Oct 2023 12:04:20 +0200
Subject: 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
---
core/src/components/login/UpdatePassword.vue | 2 +-
core/templates/installation.php | 16 ++++++++--------
core/templates/publicshareauth.php | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
(limited to 'core')
diff --git a/core/src/components/login/UpdatePassword.vue b/core/src/components/login/UpdatePassword.vue
index 36a63a6254a..e281ad7ffc7 100644
--- a/core/src/components/login/UpdatePassword.vue
+++ b/core/src/components/login/UpdatePassword.vue
@@ -31,7 +31,7 @@
name="password"
autocomplete="new-password"
autocapitalize="none"
- autocorrect="off"
+ spellcheck="false"
required
:placeholder="t('core', 'New password')">
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 2affefebead..b5487d7b985 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -38,13 +38,13 @@ script('core', 'install');
t('Username')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false" autofocus required>
t('Password')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false" required>
@@ -64,7 +64,7 @@ script('core', 'install');
+ autocomplete="off" autocapitalize="none" spellcheck="false">
@@ -103,13 +103,13 @@ script('core', 'install');
t('Database user')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false">
t('Database password')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false">
@@ -118,7 +118,7 @@ script('core', 'install');
t('Database name')); ?>
@@ -127,7 +127,7 @@ script('core', 'install');
t('Database tablespace')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false">
@@ -135,7 +135,7 @@ script('core', 'install');
t('Database host')); ?>
+ autocomplete="off" autocapitalize="none" spellcheck="false">
t('Please specify the port number along with the host name (e.g., localhost:5432).')); ?>
diff --git a/core/templates/publicshareauth.php b/core/templates/publicshareauth.php
index 516795852b2..c3089a2e143 100644
--- a/core/templates/publicshareauth.php
+++ b/core/templates/publicshareauth.php
@@ -25,7 +25,7 @@
--
cgit v1.2.3