diff options
author | friendica <info@friendica.com> | 2014-03-04 15:25:04 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-04 15:25:04 -0800 |
commit | 39f18d0f1618ce27804d6fcf2eee15e813b17140 (patch) | |
tree | 0576e1f28d47bff43e50293f25525fcd87ec557a /mod/openid.php | |
parent | 5f585310e73ec588b7e99a59ff5ed97850cc4ecd (diff) | |
download | volse-hubzilla-39f18d0f1618ce27804d6fcf2eee15e813b17140.tar.gz volse-hubzilla-39f18d0f1618ce27804d6fcf2eee15e813b17140.tar.bz2 volse-hubzilla-39f18d0f1618ce27804d6fcf2eee15e813b17140.zip |
fix third-party zid's
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); |