1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-20 05:11:25 +02:00

Improve CSRF message

This commit is contained in:
Jakub Vrana
2014-10-28 09:24:13 -07:00
parent 5dc5bfe7ff
commit 536e9a58ad
2 changed files with 2 additions and 1 deletions

View File

@@ -186,7 +186,7 @@ if ($_POST) {
}
$error = (!$_POST["token"] && $max_vars
? lang('Maximum number of allowed fields exceeded. Please increase %s.', "'$ini'")
: lang('Invalid CSRF token. Send the form again.')
: lang('Invalid CSRF token. Send the form again.') . ' ' . lang('If you did not send this request from Adminer then close this page.')
);
}