1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Fix missing userId on update challenge

This commit is contained in:
Jake Barnby 2024-02-25 02:21:33 +13:00
parent f530425abc
commit 7a24f5fb3d
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -3940,6 +3940,9 @@ App::put('/v1/account/mfa/challenge')
$dbForProject->updateDocument('sessions', $sessionId, $session->setAttribute('factors', $provider, Document::SET_TYPE_APPEND));
$queueForEvents
->setParam('userId', $user->getId());
$response->dynamic($session, Response::MODEL_SESSION);
});