Skip to content

Commit 39209be

Browse files
committed
remove the cookie check, replace with proper session
1 parent a09e3cb commit 39209be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/AuthorizeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AuthorizeController extends ServerController
99
{
1010
final public function __invoke(ServerRequestInterface $request, array $args): ResponseInterface
1111
{
12-
if (!isset($_COOKIE['userid']) && !isset($_SESSION['userid'])) {
12+
if (!isset($_SESSION['userid'])) {
1313
$response = $this->getResponse();
1414
$response = $response->withStatus(302, "Approval required");
1515

0 commit comments

Comments
 (0)