diff options
author | friendica <info@friendica.com> | 2012-03-29 20:58:32 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-29 20:58:32 -0700 |
commit | bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e (patch) | |
tree | 48ca85a83dc21214ec056dd21798e04bacfc7936 /include/security.php | |
parent | cd47ba6ed1236b14c5da832b686eea0be926f65a (diff) | |
download | volse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.tar.gz volse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.tar.bz2 volse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.zip |
use zrl to get home again
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; |