diff options
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 8f8294b..048e1a5 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -212,7 +212,7 @@ EOD; captiveportal_allowedip_configure() ; /* generate radius server database */ - if($config['captiveportal']['radiusip']) { + if($config['captiveportal']['radiusip'] && $config['captiveportal']['auth_method']=="radius") { $radiusip = $config['captiveportal']['radiusip'] ; if($config['captiveportal']['radiusport']) |