fix: expired token issue
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ class DefaultController extends ControllerAbstract
|
||||
return new FileResponse(
|
||||
$this->rootDir . '/public/private.html',
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/html']
|
||||
['Content-Type' => 'text/html', 'Cache-Control' => 'no-store']
|
||||
);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ class DefaultController extends ControllerAbstract
|
||||
$response = new FileResponse(
|
||||
$this->rootDir . '/public/public.html',
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/html']
|
||||
['Content-Type' => 'text/html', 'Cache-Control' => 'no-store']
|
||||
);
|
||||
|
||||
// Clear any stale auth cookies since the user is not authenticated
|
||||
@@ -58,7 +58,7 @@ class DefaultController extends ControllerAbstract
|
||||
return new FileResponse(
|
||||
$this->rootDir . '/public/public.html',
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/html']
|
||||
['Content-Type' => 'text/html', 'Cache-Control' => 'no-store']
|
||||
);
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ class DefaultController extends ControllerAbstract
|
||||
return new FileResponse(
|
||||
$this->rootDir . '/public/private.html',
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/html']
|
||||
['Content-Type' => 'text/html', 'Cache-Control' => 'no-store']
|
||||
);
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ class DefaultController extends ControllerAbstract
|
||||
$response = new FileResponse(
|
||||
$this->rootDir . '/public/public.html',
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/html']
|
||||
['Content-Type' => 'text/html', 'Cache-Control' => 'no-store']
|
||||
);
|
||||
|
||||
// Clear any stale auth cookies since the user is not authenticated
|
||||
|
||||
Reference in New Issue
Block a user