Skip to content

Commit d17c85e

Browse files
authored
Merge pull request #4107 from chrismaffey/patch-1
Update _access.conf
2 parents ee41bb5 + dad8d0c commit d17c85e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/templates/_access.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
auth_basic "Authorization required";
55
auth_basic_user_file /data/access/{{ access_list_id }};
66

7-
{% if access_list.pass_auth == 0 %}
7+
{% if access_list.pass_auth == 0 or access_list.pass_auth == true %}
88
proxy_set_header Authorization "";
99
{% endif %}
1010

@@ -17,7 +17,7 @@
1717
deny all;
1818

1919
# Access checks must...
20-
{% if access_list.satisfy_any == 1 %}
20+
{% if access_list.satisfy_any == 1 or access_list.satisfy_any == true %}
2121
satisfy any;
2222
{% else %}
2323
satisfy all;

0 commit comments

Comments
 (0)