Add ChangeLog entry for #14184
[phpmyadmin.git] / logout.php
blobe715ed16e3646b9a64caa6e8af0034f34075487a
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Logout script
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Core;
11 require_once 'libraries/common.inc.php';
13 if ($_SERVER['REQUEST_METHOD'] != 'POST' || $token_mismatch) {
14 Core::sendHeaderLocation('./index.php');
15 } else {
16 $auth_plugin->logOut();