mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Abstract DELETE, INSERT and INSERT+UPDATE
This commit is contained in:
@@ -116,6 +116,8 @@ if (is_string($connection) || !$adminer->login($_GET["username"], get_session("p
|
||||
exit;
|
||||
}
|
||||
|
||||
$driver = new Min_Driver($connection);
|
||||
|
||||
$token = $_SESSION["token"]; ///< @var string CSRF protection
|
||||
if ($auth && $_POST["token"]) {
|
||||
$_POST["token"] = $token; // reset token after explicit login
|
||||
|
Reference in New Issue
Block a user