csrf : update message

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5544 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-09-27 11:11:40 +00:00
parent 64c781b90a
commit 27a4b2e8f7

View File

@@ -110,7 +110,8 @@ class csrf
if (! isset ($_SESSION["domframework"]["csrf"]))
{
throw new \Exception (dgettext ("domframework",
"No previous CSRF token : abort"), 406);
"No previous CSRF token found in session ".
"(maybe a new session after expiration ?) : abort"), 406);
}
if (! key_exists ($tokenFromUser, $_SESSION["domframework"]["csrf"]))
{