From 546bf8162786fbe37bac929d6629ccd64bee5aa6 Mon Sep 17 00:00:00 2001 From: cooper Date: Sun, 11 Aug 2024 09:14:27 +0800 Subject: [PATCH] #108 --- .../main/resources/theme/phone/login/login-reset-password.ftl | 2 +- .../main/resources/theme/phone/login/login-sms-otp-config.ftl | 2 +- .../resources/theme/phone/login/login-update-phone-number.ftl | 2 +- .../src/main/resources/theme/phone/login/login.ftl | 2 +- .../src/main/resources/theme/phone/login/register.ftl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/login-reset-password.ftl b/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/login-reset-password.ftl index e50d6366..a4b100cc 100644 --- a/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/login-reset-password.ftl +++ b/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/login-reset-password.ftl @@ -103,7 +103,7 @@
+ class="${properties.kcInputClass!}" autocomplete="one-time-code"/>
${msg("verificationCode")} autofocus - autocomplete="off"/> + autocomplete="one-time-code"/>
${msg("verificationCode")} autofocus - autocomplete="off"/> + autocomplete="one-time-code"/>
+ class="${properties.kcInputClass!}" autocomplete="one-time-code"/>
diff --git a/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/register.ftl b/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/register.ftl index f79c9195..002c0ab8 100644 --- a/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/register.ftl +++ b/keycloak-phone-provider.resources/src/main/resources/theme/phone/login/register.ftl @@ -167,7 +167,7 @@ + autocomplete="one-time-code"/> <#if messagesPerField.existsError('registerCode')> ${kcSanitize(messagesPerField.get('registerCode'))?no_esc}