2 /* vim: set expandtab sw=4 ts=4 sts=4: */
8 declare(strict_types
=1);
12 require_once 'libraries/common.inc.php';
14 if ($_SERVER['REQUEST_METHOD'] != 'POST' ||
$token_mismatch) {
15 Core
::sendHeaderLocation('./index.php');
17 $auth_plugin->logOut();