From ca650fce1ba3882c2d593fc5e9ef07181f9a67dd Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 16 Feb 2024 14:59:40 +0000 Subject: [PATCH] fix: status code for more factors required --- app/config/errors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/errors.php b/app/config/errors.php index 40f6ad018f..d3f84dc353 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -245,7 +245,7 @@ return [ Exception::USER_MORE_FACTORS_REQUIRED => [ 'name' => Exception::USER_MORE_FACTORS_REQUIRED, 'description' => 'More factors are required to complete the sign in process.', - 'code' => 400, + 'code' => 401, ], Exception::USER_OAUTH2_BAD_REQUEST => [ 'name' => Exception::USER_OAUTH2_BAD_REQUEST,