Commit baa961d7 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 80270cf2
...@@ -660,4 +660,3 @@ function unbound_hosts_generate() { ...@@ -660,4 +660,3 @@ function unbound_hosts_generate() {
// Reload our service to read the updates // Reload our service to read the updates
unbound_control("reload"); unbound_control("reload");
} }
...@@ -121,7 +121,7 @@ include('head.inc'); ...@@ -121,7 +121,7 @@ include('head.inc');
<script type="text/javascript"> <script type="text/javascript">
// exit form and reload parent after save // exit form and reload parent after save
window.opener.location.href = window.opener.location.href; window.opener.location.href = window.opener.location.href;
window.close(); window.close();
</script> </script>
<?php elseif (!$ldap_is_connected) : <?php elseif (!$ldap_is_connected) :
?> ?>
......
...@@ -35,7 +35,7 @@ if (isset($config['system']['authserver'][0]['host'])) { ...@@ -35,7 +35,7 @@ if (isset($config['system']['authserver'][0]['host'])) {
$auth_server = $config['system']['authserver'][0]['host']; $auth_server = $config['system']['authserver'][0]['host'];
$authserver = $_GET['authserver']; $authserver = $_GET['authserver'];
$authcfg = auth_get_authserver($authserver); $authcfg = auth_get_authserver($authserver);
$ldap_auth = new OPNsense\Auth\LDAP($authcfg['ldap_basedn'], $authcfg['ldap_protver']); $ldap_auth = new OPNsense\Auth\LDAP($authcfg['ldap_basedn'], $authcfg['ldap_protver']);
ldap_setup_caenv($authcfg); ldap_setup_caenv($authcfg);
$ldap_is_connected = $ldap_auth->connect($authcfg['ldap_full_url'], $authcfg['ldap_binddn'], $authcfg['ldap_bindpw']); $ldap_is_connected = $ldap_auth->connect($authcfg['ldap_full_url'], $authcfg['ldap_binddn'], $authcfg['ldap_bindpw']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment