diff --git a/html/main.php b/html/main.php
index 4a96f4657e356b912a27f80cfdd2c1e9c86fd450..f4ad508e8049e153cfb2ab410cd5ce4894547c2c 100644 (file)
--- a/html/main.php
+++ b/html/main.php
/* Logged in? Simple security check */
if (!isset($_SESSION['config'])){
- gosa_log ("main.php called without session");
- header ("Location: index.php");
+ gosa_log ("main.php called without session - logging out");
+ header ("Location: logout.php");
exit;
}