From 8f747a124979f8152d92dbf7139235f73a3129f2 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 24 Jun 2024 15:51:46 +0900 Subject: [PATCH] Update account.php --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index d630743f8c..378ed52c6a 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -4959,7 +4959,7 @@ App::put('/v1/account/mfa/webauthn/challenge') // Update authenticator as counter has changed $dbForProject->updateDocument('authenticators', $authenticator['id'], new Document([ - 'data' => $publicKeyCredential->jsonSerialize() + 'data' => json_encode($publicKeyCredential) ]));