summaryrefslogtreecommitdiffstats
path: root/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'login.php')
-rw-r--r--login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/login.php b/login.php
index fa44a925..ed81e267 100644
--- a/login.php
+++ b/login.php
@@ -35,7 +35,7 @@ init_preferences();
* page if they aren't in the ACL
*/
if (Config::get('access_control')) {
- if (!Access::check('interface',$_SERVER['REMOTE_ADDR'],'','5')) {
+ if (!Access::check_network('interface',$_SERVER['REMOTE_ADDR'],'','5')) {
debug_event('access_denied','Access Denied:' . $_SERVER['REMOTE_ADDR'] . ' is not in the Interface Access list','3');
access_denied();
}