diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-09 20:22:45 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-09 20:22:45 +0200 |
commit | edada2b7869d9565b4534114b6ed171e588185f6 (patch) | |
tree | ccf4fe404f07dbc08634a538f5e5af91f532af67 /include/zid.php | |
parent | ccc9cc8202b271d5b9b4126a10f997af17ade6d3 (diff) | |
parent | 84c86f01c853f87be93807b3e190f954aca2e6e6 (diff) | |
download | volse-hubzilla-edada2b7869d9565b4534114b6ed171e588185f6.tar.gz volse-hubzilla-edada2b7869d9565b4534114b6ed171e588185f6.tar.bz2 volse-hubzilla-edada2b7869d9565b4534114b6ed171e588185f6.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/zid.php')
-rw-r--r-- | include/zid.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/zid.php b/include/zid.php index d5d863be6..08d8f061b 100644 --- a/include/zid.php +++ b/include/zid.php @@ -296,6 +296,13 @@ function owt_init($token) { $_SESSION['DNT'] = 1; } - logger('owa success!'); + $arr = array('xchan' => $hubloc, 'url' => \App::query_string, 'session' => $_SESSION); + call_hooks('magic_auth_success',$arr); + \App::set_observer($hubloc); + require_once('include/security.php'); + \App::set_groups(init_groups_visitor($_SESSION['visitor_id'])); + info(sprintf( t('Welcome %s. Remote authentication successful.'),$hubloc['xchan_name'])); + logger('OpenWebAuth: auth success from ' . $hubloc['xchan_addr']); + }
\ No newline at end of file |