Show an error message when the CSRF check fails.

develop
Sven Slootweg 11 years ago
parent fdd838f2a0
commit 765cdb68db

@ -22,7 +22,7 @@ if(strtolower($_SERVER["REQUEST_METHOD"]) == "post")
}
catch (CsrfException $e)
{
die();
die("Invalid CSRF token. Perhaps your session has expired? <a href='/'>Click here</a> to log in again.");
}
}

Loading…
Cancel
Save