aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-11 02:49:28 -0800
committerFriendika <info@friendika.com>2010-11-11 02:49:28 -0800
commit7be66b1d91f80c3cee0ed6f08392c3f3f1bffc1e (patch)
tree9c813130c32d83c440e145e514bb4e08f6fae0e3 /index.php
parent0abaa6724d6b2e7e3f5a3f8d81026cee9def0b10 (diff)
downloadvolse-hubzilla-7be66b1d91f80c3cee0ed6f08392c3f3f1bffc1e.tar.gz
volse-hubzilla-7be66b1d91f80c3cee0ed6f08392c3f3f1bffc1e.tar.bz2
volse-hubzilla-7be66b1d91f80c3cee0ed6f08392c3f3f1bffc1e.zip
ff account manager
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'] = '';