diff --git a/themes/accountWebAuthnAdd.ftl b/themes/accountWebAuthnAdd.ftl index a920c0d..47f4073 100644 --- a/themes/accountWebAuthnAdd.ftl +++ b/themes/accountWebAuthnAdd.ftl @@ -5,7 +5,6 @@ [#-- @ftlvariable name="tenant" type="io.fusionauth.domain.Tenant" --] [#-- @ftlvariable name="tenantId" type="java.util.UUID" --] [#-- @ftlvariable name="user" type="io.fusionauth.domain.User" --] -[#-- @ftlvariable name="webAuthnCredentials" type="java.util.List" --] [#import "../../_helpers.ftl" as helpers/] diff --git a/themes/defaultMessages.txt b/themes/defaultMessages.txt index dd3c375..bdfe3f5 100644 --- a/themes/defaultMessages.txt +++ b/themes/defaultMessages.txt @@ -368,6 +368,7 @@ go-back-to-send=Go back to send [mismatch]=Unexpected value [notEmail]=Invalid email [notConfigured]=Not configured +[previouslyUsed]=Previously used [tooLong]=Too long [tooShort]=Too short [type]=Invalid type @@ -425,9 +426,11 @@ go-back-to-send=Go back to send [doNotMatch]user.password=Passwords don't match [singleCase]user.password=Password must use upper and lowercase characters [onlyAlpha]user.password=Password must contain a punctuation character +[previouslyUsed]user.password=Password has been recently used [requireNumber]user.password=Password must contain a number character [tooShort]user.password=Password does not meet the minimum length requirement [tooLong]user.password=Password exceeds the maximum length requirement +[tooYoung]user.password=Password was changed too recently, try again later [blank]user.username=Required [duplicate]user.username=An account already exists for that username [inactive]user.username=An account already exists for that username but is locked. Contact the administrator for assistance @@ -505,7 +508,7 @@ go-back-to-send=Go back to send [UserLockedException]=Your account has been locked. Please contact your system administrator. [UserUnauthenticated]=Oops. It looks like you've gotten here by accident. Please return to your application and log in to begin the authorization sequence. [WebAuthnDisabled]=WebAuthn is not currently enabled. -[WebAuthnCredentialSelectionCanceled]=Credential selection canceled. +[WebAuthnCredentialSelectionCanceled]=Passkey selection canceled. [WebAuthnFailed]=Unable to complete the WebAuthn workflow. # External authentication errors diff --git a/themes/helpers.ftl b/themes/helpers.ftl index 756f499..de7a155 100644 --- a/themes/helpers.ftl +++ b/themes/helpers.ftl @@ -573,7 +573,7 @@ [/#macro] -[#macro alternativeLogins clientId identityProviders passwordlessEnabled bootStrapWebauthnEnabled] +[#macro alternativeLogins clientId identityProviders passwordlessEnabled bootstrapWebauthnEnabled=false] [#if identityProviders?has_content || passwordlessEnabled]
@@ -596,7 +596,7 @@
[/#if] - [#if bootStrapWebauthnEnabled] + [#if bootstrapWebauthnEnabled]
[@link url = "/oauth2/webauthn"]