mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
(proxy) fix authentication method other then local, missing acl usage
This commit is contained in:
parent
e357d5325d
commit
e96aa187c8
@ -250,7 +250,7 @@ http_access deny to_localhost
|
||||
# Access Permission configuration:
|
||||
#
|
||||
# Deny request from unauthorized clients
|
||||
{% if helpers.exists('OPNsense.proxy.forward.authentication.method') and OPNsense.proxy.forward.authentication.method=='local' %}
|
||||
{% if helpers.exists('OPNsense.proxy.forward.authentication.method') and OPNsense.proxy.forward.authentication.method != '' %}
|
||||
http_access allow local_auth
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user