summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/login/LoginForm.vue7
-rw-r--r--core/src/components/login/UpdatePassword.vue3
2 files changed, 8 insertions, 2 deletions
diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue
index 54e77b2c5f9..e702961d50e 100644
--- a/core/src/components/login/LoginForm.vue
+++ b/core/src/components/login/LoginForm.vue
@@ -59,7 +59,8 @@
v-model="user"
type="text"
name="user"
- autocapitalize="off"
+ autocapitalize="none"
+ autocorrect="off"
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
:placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')"
@@ -75,7 +76,9 @@
:type="passwordInputType"
class="password-with-toggle"
name="password"
- :autocomplete="autoCompleteAllowed ? 'on' : 'off'"
+ autocorrect="off"
+ autocapitalize="none"
+ :autocomplete="autoCompleteAllowed ? 'current-password' : 'off'"
:placeholder="t('core', 'Password')"
:aria-label="t('core', 'Password')"
required>
diff --git a/core/src/components/login/UpdatePassword.vue b/core/src/components/login/UpdatePassword.vue
index cb615a846d2..95778b993c8 100644
--- a/core/src/components/login/UpdatePassword.vue
+++ b/core/src/components/login/UpdatePassword.vue
@@ -29,6 +29,9 @@
v-model="password"
type="password"
name="password"
+ autocomplete="new-password"
+ autocapitalize="none"
+ autocorrect="off"
required
:placeholder="t('core', 'New password')">
</p>