owa cleanup
This commit is contained in:
@@ -296,12 +296,13 @@ function owt_init($token) {
|
||||
$_SESSION['DNT'] = 1;
|
||||
}
|
||||
|
||||
$arr = array('xchan' => $hubloc, 'url' => \App::query_string, 'session' => $_SESSION);
|
||||
$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']));
|
||||
if(! get_config('system','hide_owa_greeting'))
|
||||
info(sprintf( t('OpenWebAuth: %1$s welcomes %2$s'),\App::get_hostname(), $hubloc['xchan_name']));
|
||||
logger('OpenWebAuth: auth success from ' . $hubloc['xchan_addr']);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user