From e242684d1af50eda2239f8281d4f5db9eec2be34 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 15 Jul 2020 17:58:07 -0500 Subject: [PATCH] Improve totp input field: disable autocorrect etc, add hints so browsers and password managers can find it --- src/components/mfa_form/totp_form.vue | 10 ++++++++-- .../settings_modal/tabs/security_tab/mfa.vue | 10 +++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/mfa_form/totp_form.vue b/src/components/mfa_form/totp_form.vue index a344b395..bc38b376 100644 --- a/src/components/mfa_form/totp_form.vue +++ b/src/components/mfa_form/totp_form.vue @@ -16,9 +16,15 @@ {{ $t('login.authentication_code') }} diff --git a/src/components/settings_modal/tabs/security_tab/mfa.vue b/src/components/settings_modal/tabs/security_tab/mfa.vue index 7aca3c8d..351f9c97 100644 --- a/src/components/settings_modal/tabs/security_tab/mfa.vue +++ b/src/components/settings_modal/tabs/security_tab/mfa.vue @@ -97,8 +97,16 @@

{{ $t('general.verify') }}

{{ $t('settings.mfa.verify.desc') }}

{{ $t('settings.enter_current_password_to_confirm') }}: