diff options
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php index c0a747def..ccaa970de 100644 --- a/include/auth.php +++ b/include/auth.php @@ -49,6 +49,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p $_SESSION['cid'] = $a->cid; } + header('X-Account-Management-Status: active; name="' . $a->user['username'] . '"; id="' . $a->user['nickname'] .'"'); } } else { @@ -98,6 +99,8 @@ else { $a->cid = $r[0]['id']; $_SESSION['cid'] = $a->cid; } + + header('X-Account-Management-Status: active; name="' . $a->user['username'] . '"; id="' . $a->user['nickname'] .'"'); if(($a->module !== 'home') && isset($_SESSION['return_url'])) goaway($a->get_baseurl() . '/' . $_SESSION['return_url']); } |