use the allowed ips

This commit is contained in:
Tom Broughton 2023-10-30 08:56:00 +00:00
parent bc594edf37
commit d4bdf189b7

View file

@ -62,7 +62,7 @@ if(config.ipfilter.allowed_ips.length > 0){
ipFilter({
detectIp: clientIp,
forbidden: 'You are not authorized to access this page.',
filter: allowlist_ips,
filter: config.ipfilter.allowlist_ips,
})
);
}