diff options
author | zottel <github@zottel.net> | 2012-03-30 09:03:43 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-30 09:03:43 +0200 |
commit | 2212e6931096d188be2dea27bcb4877f16c5c2f8 (patch) | |
tree | a0a6b3cec6b1b4108c62ff689e8842d49226b982 /include/security.php | |
parent | 953840cf822718cba66a0727b576c674c6e44875 (diff) | |
parent | d22b3a1d9c295f5545cc20e1af786cb79e6553a5 (diff) | |
download | volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.tar.gz volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.tar.bz2 volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.zip |
Merge remote branch '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; |