diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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'] = ''; |