Can't add Passkey if session is not password confirmed

Kirby

Well-known member
Affected version
Xenforo.com
When trying to add a Passkey with a session that is not password confirmed a JS error is triggered
Code:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString')
    at Object.create (webauthn.js?_v=0fe3f364:215:34)

This is most likely a regression caused by https://xenforo.com/community/threa...es-not-require-user-re-authentication.233224/ as the AJAX response is the password confirmation HTML in this case and does not contain the expected JSON params.
 
Back
Top Bottom