diff --git a/core/authentication/resources/classes/authentication.php b/core/authentication/resources/classes/authentication.php index 0fc9943190..70b8b23849 100644 --- a/core/authentication/resources/classes/authentication.php +++ b/core/authentication/resources/classes/authentication.php @@ -207,6 +207,11 @@ class authentication { 'samesite' => 'Strict' ]); + //set the session authorized to true + $_SESSION['authorized'] = true; + + //return the result + return $result; } }