Solved Passkeys cannot be created without enabling friendly URLs

This topic has been solved
K

Kirby

Guest
Code:

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),

Continue reading...