From 7dc17173b5b531a9268a47f59741267b2ed468eb Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 9 Oct 2022 17:34:18 +0800 Subject: [PATCH] Use autocomplete="new-password" instead of "one-time-code" to prevent autofilling on Firefox --- src/components/HiddenInput.vue | 2 +- src/components/notifications/ClickSendSMS.vue | 2 +- src/components/notifications/GoAlert.vue | 2 +- src/components/notifications/Gotify.vue | 2 +- src/components/notifications/Line.vue | 2 +- src/components/notifications/Matrix.vue | 2 +- src/components/notifications/Octopush.vue | 2 +- src/components/notifications/PromoSMS.vue | 2 +- src/components/notifications/PushDeer.vue | 2 +- src/components/notifications/Pushbullet.vue | 2 +- src/components/notifications/Pushover.vue | 4 ++-- src/components/notifications/Pushy.vue | 4 ++-- src/components/notifications/SMTP.vue | 2 +- src/components/notifications/ServerChan.vue | 2 +- src/components/notifications/SerwerSMS.vue | 2 +- src/components/notifications/TechulusPush.vue | 2 +- src/components/notifications/Telegram.vue | 2 +- src/components/settings/General.vue | 5 +++-- src/components/settings/ReverseProxy.vue | 2 +- 19 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/components/HiddenInput.vue b/src/components/HiddenInput.vue index 6287af05..fb86a398 100644 --- a/src/components/HiddenInput.vue +++ b/src/components/HiddenInput.vue @@ -42,7 +42,7 @@ export default { /** Should the field auto complete */ autocomplete: { type: String, - default: undefined, + default: "new-password", }, /** Is the input required? */ required: { diff --git a/src/components/notifications/ClickSendSMS.vue b/src/components/notifications/ClickSendSMS.vue index dbd4d0aa..dbaca045 100644 --- a/src/components/notifications/ClickSendSMS.vue +++ b/src/components/notifications/ClickSendSMS.vue @@ -6,7 +6,7 @@ - +
diff --git a/src/components/notifications/GoAlert.vue b/src/components/notifications/GoAlert.vue index a1465b50..cefb848d 100644 --- a/src/components/notifications/GoAlert.vue +++ b/src/components/notifications/GoAlert.vue @@ -11,7 +11,7 @@
- +
{{ $t("goAlertIntegrationKeyInfo") }} diff --git a/src/components/notifications/Gotify.vue b/src/components/notifications/Gotify.vue index 5c294f6d..8b9a8a16 100644 --- a/src/components/notifications/Gotify.vue +++ b/src/components/notifications/Gotify.vue @@ -1,7 +1,7 @@