isPost() || $GLOBALS['token_mismatch']) { ResponseRenderer::getInstance()->redirect('./index.php?route=/'); return; } $authPlugin = $this->authPluginFactory->create(); $authPlugin->logOut(); } }