]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix logout action on Apache web server
authorMarcin Haba <marcin.haba@bacula.pl>
Wed, 30 Dec 2015 06:33:45 +0000 (07:33 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Wed, 30 Dec 2015 06:33:45 +0000 (07:33 +0100)
gui/baculum/protected/Pages/Home.php

index a3c6da493857aca8996a9f0f7ad2a16a2c603f09..f24d8841d478d0804cf103a121a4e5ec311277dc 100644 (file)
@@ -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();
        }
 }
 ?>