mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Initialize token
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@846 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -9,3 +9,4 @@ if (is_string($dbh)) {
|
|||||||
auth_error();
|
auth_error();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_SESSION["tokens"][$_GET["server"]] = rand(1, 1e6); // defense against cross-site request forgery
|
||||||
|
Reference in New Issue
Block a user