From: Marcin Haba Date: Wed, 30 Dec 2015 06:33:45 +0000 (+0100) Subject: baculum: Fix logout action on Apache web server X-Git-Tag: Release-7.4.0~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c8cd5d18d74611342212c7e835ae7b79b9927c8;p=bacula%2Fbacula baculum: Fix logout action on Apache web server --- diff --git a/gui/baculum/protected/Pages/Home.php b/gui/baculum/protected/Pages/Home.php index a3c6da4938..f24d8841d4 100644 --- a/gui/baculum/protected/Pages/Home.php +++ b/gui/baculum/protected/Pages/Home.php @@ -207,6 +207,7 @@ class Home extends BaculumPage $http_protocol = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) ? 'https' : 'http'; $fake_pwd = $cfg->getRandomString(); $cfg->switchToUser($http_protocol, $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], $this->User->getName(), $fake_pwd); + exit(); } } ?>