Skip to content

Commit fba1481

Browse files
authored
Merge pull request #4894 from eduardpaul/feat-fix-pass_auth-template
Update _access.conf to fix access_list.pass_auth logic
2 parents 6825a97 + 2bcb942 commit fba1481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/templates/_access.conf

Lines changed: 1 addition & 1 deletion
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 or access_list.pass_auth == true %}
7+
{% if access_list.pass_auth == 0 or access_list.pass_auth == false %}
88
proxy_set_header Authorization "";
99
{% endif %}
1010

0 commit comments

Comments
 (0)