From 41176602e600a75362c7c2f8a44fc693f2955f89 Mon Sep 17 00:00:00 2001 From: Lars Scheibling <24367830+scheibling@users.noreply.github.com> Date: Sat, 2 Mar 2024 12:47:11 +0100 Subject: [PATCH] Fix WebAuthN bug Fixes bug with WebAuthN registration that occured around v21. Backwards-compatible with earlier versions --- theme/keywind/login/webauthn-register.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/keywind/login/webauthn-register.ftl b/theme/keywind/login/webauthn-register.ftl index 57f4dad87..b12ecc9b6 100644 --- a/theme/keywind/login/webauthn-register.ftl +++ b/theme/keywind/login/webauthn-register.ftl @@ -44,7 +44,7 @@ requireResidentKey: '${requireResidentKey}', rpEntityName: '${rpEntityName}', rpId: '${rpId}', - signatureAlgorithms: '${signatureAlgorithms}', + signatureAlgorithms: "<#if signatureAlgorithms?is_enumerable>${signatureAlgorithms?join(",")}<#else>${signatureAlgorithms}", unsupportedBrowserText: '${msg("webauthn-unsupported-browser-text")?no_esc}', userId: '${userid}', userVerificationRequirement: '${userVerificationRequirement}',