Fixed Passkeys cannot be created without enabling friendly URLs

Kirby

Well-known member
Affected version
2.3.0 Beta 3
Code:
--- webauthn.js    Sat Apr  6 01:54:55 2024
+++ webauthn.js    Sat Apr  6 01:54:55 2024
@@ -180,3 +180,3 @@
         {
-            XF.ajax('post', XF.canonicalizeUrl('account/passkey/add'), {
+            XF.ajax('post', XF.canonicalizeUrl('index.php?account/passkey/add'), {
                 webauthn_payload: JSON.stringify(payload),
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 4).

Change log:
Fix passkey creation when friendly URLs are disabled
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom