mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 22:08:11 -04:00
www/web-proxy-sso: use service_log() #6099
This commit is contained in:
parent
2aece2fee3
commit
501d48df14
1 changed files with 8 additions and 5 deletions
|
|
@ -13,17 +13,20 @@ function proxy_sso_squid_hook($verbose, $action)
|
|||
exit;
|
||||
}
|
||||
|
||||
service_log('template reload OPNsense/ProxySSO: ', $verbose);
|
||||
|
||||
$res = configd_run('template reload OPNsense/ProxySSO');
|
||||
if ($verbose) {
|
||||
printf("template reload OPNsense/ProxySSO: %s\n", trim($res));
|
||||
}
|
||||
|
||||
service_log(trim($res) . "\n", $verbose);
|
||||
}
|
||||
|
||||
function proxy_sso_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result = [];
|
||||
|
||||
$result['id'] = 'proxysso';
|
||||
$result['section'] = 'OPNsense.ProxySSO';
|
||||
$result['description'] = gettext('Kerberos authentication module');
|
||||
return array($result);
|
||||
|
||||
return [$result];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue