fix: expired token issue

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-05 11:36:20 -04:00
parent 502be95d7d
commit 6931dc9ff7
5 changed files with 33 additions and 23 deletions
+5 -5
View File
@@ -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