From d5b1ac99544fdf1d066036293c48ec48c840c0fc Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 27 Jul 2010 21:45:07 +0000 Subject: Require radius.inc if the webGUI is using radius as the method. --- etc/inc/auth.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +?> -- cgit v1.1