UI improvements, contact windows, fixed #196

This commit is contained in:
Pinga 2025-02-18 13:43:41 +02:00
parent 5ac0e9f1fa
commit 184322e2d2
6 changed files with 493 additions and 360 deletions

View file

@ -302,6 +302,10 @@ $csrfMiddleware = function ($request, $handler) use ($container) {
if ($path && $path === '/clear-cache') {
return $handler->handle($request);
}
if ($path && $path === '/token-well') {
$csrf->generateToken();
return $handler->handle($request);
}
// If not skipped, apply the CSRF Guard
return $csrf->process($request, $handler);