diff --git a/theme/keywind/login/login-passkeys-conditional-authenticate.ftl b/theme/keywind/login/login-passkeys-conditional-authenticate.ftl new file mode 100644 index 0000000..af82ef2 --- /dev/null +++ b/theme/keywind/login/login-passkeys-conditional-authenticate.ftl @@ -0,0 +1,134 @@ +<#import "template.ftl" as layout> +<#import "components/atoms/form.ftl" as form> +<#import "components/atoms/input.ftl" as input> +<#import "components/atoms/button.ftl" as button> +<#import "components/atoms/button-group.ftl" as buttonGroup> +<#import "components/atoms/link.ftl" as link> + +<@layout.registrationLayout script="dist/webAuthnAuthenticate.js" displayInfo=(realm.registrationAllowed && !registrationDisabled??); section> + <#if section = "title"> + title + <#elseif section = "header"> + ${kcSanitize(msg("passkey-login-title"))?no_esc} + <#elseif section = "form"> +
${kcSanitize(msg("passkey-available-authenticators"))?no_esc}
+ #if> + +