1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Update account.php

This commit is contained in:
Bradley Schofield 2024-06-24 15:51:46 +09:00
parent 5d10fcbf54
commit 8f747a1249

View file

@ -4959,7 +4959,7 @@ App::put('/v1/account/mfa/webauthn/challenge')
// Update authenticator as counter has changed // Update authenticator as counter has changed
$dbForProject->updateDocument('authenticators', $authenticator['id'], new Document([ $dbForProject->updateDocument('authenticators', $authenticator['id'], new Document([
'data' => $publicKeyCredential->jsonSerialize() 'data' => json_encode($publicKeyCredential)
])); ]));