diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-03 03:19:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-03 03:19:45 +0000 |
commit | 4989bc6624071830e4f63f36a2bb08d9e6f7623c (patch) | |
tree | 2cf8b4816b04eab58f5f16c988698c8f6c91a0b0 /etc/inc/authgui.inc | |
parent | 5b8c204f4d9b7eae1200ceb896af4e8f351a1dea (diff) | |
download | pfsense-4989bc6624071830e4f63f36a2bb08d9e6f7623c.zip pfsense-4989bc6624071830e4f63f36a2bb08d9e6f7623c.tar.gz |
Latest LDAP changes from Mark Batchelor
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r-- | etc/inc/authgui.inc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 0df0206..2bfe6fd 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -49,6 +49,7 @@ require_once("functions.inc"); $auth_method="session_auth";
/* enable correct auth backend, default to htpasswd_backed */
+
$ldapcase = $config['system']['webgui']['backend'];
switch($ldapcase)
{
@@ -62,14 +63,6 @@ default: $backing_method="htpasswd_backed";
}
-
-//if($config['system']['webgui']['backend'] == "ldap"){
-// $backing_method="ldap_backed";
-//} elseif($config['system']['webgui']['backend'] == "ldapother")
-// $backing_method="ldap_backed";
-//else
-// $backing_method="htpasswd_backed";
-
/* Authenticate user - exit if failed */
if (!$auth_method($backing_method)) { exit; }
@@ -322,4 +315,4 @@ function display_login_form() { <?php
} // end function
-?>
\ No newline at end of file +?>
|