diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-01 14:11:37 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-01 14:11:37 +0200 |
commit | 7d23149a61f75923b2c71a288a722ee219f5e6ba (patch) | |
tree | dea64e1cfc15eb6f95e7440e532258dfb909c21c /include/security.php | |
parent | 59b45f7fc12027c387f04a2121ea398c1d534626 (diff) | |
parent | bb67ca9f1c61f96db6da15aee646a20c0b77a255 (diff) | |
download | volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.tar.gz volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.tar.bz2 volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'include/security.php')
-rwxr-xr-x | include/security.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php index 19e91eb63..66622fd33 100755 --- a/include/security.php +++ b/include/security.php @@ -9,6 +9,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive $_SESSION['authenticated'] = 1; $_SESSION['page_flags'] = $user_record['page-flags']; $_SESSION['my_url'] = $a->get_baseurl() . '/profile/' . $user_record['nickname']; + $_SESSION['my_address'] = $user_record['nickname'] . '@' . substr($a->get_baseurl(),strpos($a->get_baseurl(),'://')+3); $_SESSION['addr'] = $_SERVER['REMOTE_ADDR']; $a->user = $user_record; |