diff --git a/application/composer.lock b/application/composer.lock index 88525043..9c0a8b9a 100644 --- a/application/composer.lock +++ b/application/composer.lock @@ -3879,12 +3879,12 @@ "source": { "type": "git", "url": "https://github.com/silinternational/yii2-sentry.git", - "reference": "a16a8b237a3c7bc198c3ef7371e1e7c9746b4fff" + "reference": "0f7e3841cf65e6a22ba2d9c0813adbfe07d0e1eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/silinternational/yii2-sentry/zipball/a16a8b237a3c7bc198c3ef7371e1e7c9746b4fff", - "reference": "a16a8b237a3c7bc198c3ef7371e1e7c9746b4fff", + "url": "https://api.github.com/repos/silinternational/yii2-sentry/zipball/0f7e3841cf65e6a22ba2d9c0813adbfe07d0e1eb", + "reference": "0f7e3841cf65e6a22ba2d9c0813adbfe07d0e1eb", "shasum": "" }, "require": { @@ -3923,7 +3923,7 @@ "support": { "source": "https://github.com/silinternational/yii2-sentry/tree/master" }, - "time": "2024-12-09T13:11:43+00:00" + "time": "2024-12-11T05:14:45+00:00" }, { "name": "swiftmailer/swiftmailer", diff --git a/application/frontend/controllers/MfaController.php b/application/frontend/controllers/MfaController.php index d71341e3..0a71ef67 100644 --- a/application/frontend/controllers/MfaController.php +++ b/application/frontend/controllers/MfaController.php @@ -176,7 +176,8 @@ protected function getRequestedMfa($id) 'status' => 'error', 'employee_id' => $employeeId, 'mfaId' => $id, - 'request' => \Yii::$app->request->url + 'request' => \Yii::$app->request->url, + 'error' => 'invalid employee_id for requested MFA', ]); throw new BadRequestHttpException("Invalid employee_id", 1543934333); }