Skip to content

Commit

Permalink
update yii2-sentry and add a missing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Dec 11, 2024
1 parent 38d2d70 commit a586cb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions application/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion application/frontend/controllers/MfaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a586cb2

Please sign in to comment.