use the allowed ips
This commit is contained in:
parent
bc594edf37
commit
d4bdf189b7
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ if(config.ipfilter.allowed_ips.length > 0){
|
||||||
ipFilter({
|
ipFilter({
|
||||||
detectIp: clientIp,
|
detectIp: clientIp,
|
||||||
forbidden: 'You are not authorized to access this page.',
|
forbidden: 'You are not authorized to access this page.',
|
||||||
filter: allowlist_ips,
|
filter: config.ipfilter.allowlist_ips,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue