aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 46f001738..abb528f95 100644
--- a/index.php
+++ b/index.php
@@ -31,9 +31,12 @@ $a->init_pagehead();
session_start();
-if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')))
+if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module === 'login'))
require("auth.php");
+if(! x($_SESSION,'authenticated'))
+ header('X-Account-Management-Status: none');
+
if(! x($_SESSION,'sysmsg'))
$_SESSION['sysmsg'] = '';