We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee41bb5 commit dad8d0cCopy full SHA for dad8d0c
backend/templates/_access.conf
@@ -4,7 +4,7 @@
4
auth_basic "Authorization required";
5
auth_basic_user_file /data/access/{{ access_list_id }};
6
7
- {% if access_list.pass_auth == 0 %}
+ {% if access_list.pass_auth == 0 or access_list.pass_auth == true %}
8
proxy_set_header Authorization "";
9
{% endif %}
10
@@ -17,7 +17,7 @@
17
deny all;
18
19
# Access checks must...
20
- {% if access_list.satisfy_any == 1 %}
+ {% if access_list.satisfy_any == 1 or access_list.satisfy_any == true %}
21
satisfy any;
22
{% else %}
23
satisfy all;
0 commit comments