mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:10:11 +00:00
ff account manager
This commit is contained in:
parent
0abaa6724d
commit
7be66b1d91
7 changed files with 44 additions and 6 deletions
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue