Update account.php
This commit is contained in:
parent
5d10fcbf54
commit
8f747a1249
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
]));
|
]));
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue