diff options
author | marijus <mario@mariovavti.com> | 2014-03-05 17:03:38 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-05 17:03:38 +0100 |
commit | 6cdc25ade96c4451e87af475a6e4f0490b591c36 (patch) | |
tree | 474ebb0f31063805d8b95dcddc22d4345c989936 /mod/openid.php | |
parent | ffb791968e48b5699dc99fffccc562f198f86c5d (diff) | |
parent | d58abc0230e07663ce543088c186639d36f82f02 (diff) | |
download | volse-hubzilla-6cdc25ade96c4451e87af475a6e4f0490b591c36.tar.gz volse-hubzilla-6cdc25ade96c4451e87af475a6e4f0490b591c36.tar.bz2 volse-hubzilla-6cdc25ade96c4451e87af475a6e4f0490b591c36.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/openid.php')
-rw-r--r-- | mod/openid.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/openid.php b/mod/openid.php index b0d4008d4..2112e0af4 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -62,6 +62,7 @@ function openid_content(&$a) { if($r) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['xchan_hash']; + $_SESSION['my_url'] = $r[0]['xchan_url']; $_SESSION['my_address'] = $r[0]['xchan_addr']; $arr = array('xchan' => $r[0], 'session' => $_SESSION); call_hooks('magic_auth_openid_success',$arr); @@ -169,6 +170,7 @@ function openid_content(&$a) { set_xconfig($url,'system','openid',$authid); $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['xchan_hash']; + $_SESSION['my_url'] = $r[0]['xchan_url']; $_SESSION['my_address'] = $r[0]['xchan_addr']; $arr = array('xchan' => $r[0], 'session' => $_SESSION); call_hooks('magic_auth_openid_success',$arr); |