summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-15 18:42:48 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-15 18:42:48 -0400
commit052e65efd5776a8a5e9355d68e039323874f07d7 (patch)
treefa0b7385bc6c59d14cfce23e3555fd5bc860b7f5 /etc/inc/auth.inc
parent5da3430e3d29c353548e79cd9e502830813baef5 (diff)
downloadpfsense-052e65efd5776a8a5e9355d68e039323874f07d7.zip
pfsense-052e65efd5776a8a5e9355d68e039323874f07d7.tar.gz
Adapt to use 2.0's accounts
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index f85f897..4bca766 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -46,8 +46,8 @@
* NOTE : Portions of the mschapv2 support was based on the BSD licensed CHAP.php
* file courtesy of Michael Retterklieber.
*/
-
-require_once("config.gui.inc");
+if(!$do_not_include_config_gui_inc)
+ require_once("config.gui.inc");
/* If this function doesn't exist, we're being called from Captive Portal or
another internal subsystem which does not include authgui.inc */
@@ -1242,4 +1242,4 @@ function session_auth() {
return true;
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud