diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-15 18:42:48 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-15 18:42:48 -0400 |
commit | 052e65efd5776a8a5e9355d68e039323874f07d7 (patch) | |
tree | fa0b7385bc6c59d14cfce23e3555fd5bc860b7f5 /etc/inc/auth.inc | |
parent | 5da3430e3d29c353548e79cd9e502830813baef5 (diff) | |
download | pfsense-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.inc | 6 |
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 |