summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-07-27 21:45:07 +0000
committerErmal <eri@pfsense.org>2010-07-27 21:45:07 +0000
commitd5b1ac99544fdf1d066036293c48ec48c840c0fc (patch)
tree53887970447899bc62493b938228ea1c9bcbfa72 /etc/inc
parentdb0bfe367b078ce68050fb359e5ce73a9055ede7 (diff)
downloadpfsense-d5b1ac99544fdf1d066036293c48ec48c840c0fc.zip
pfsense-d5b1ac99544fdf1d066036293c48ec48c840c0fc.tar.gz
Require radius.inc if the webGUI is using radius as the method.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/auth.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 4b5578b..85a5452 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1112,6 +1112,7 @@ function authenticate_user($username, $password, $authcfg = NULL) {
$authenticated = true;
break;
case 'radius':
+ require_once("radius.inc");
if (radius_backed($username, $password, $authcfg))
$authenticated = true;
break;
@@ -1235,4 +1236,4 @@ function session_auth() {
return true;
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud