Browse Source

Merge pull request #4894 from eduardpaul/feat-fix-pass_auth-template

Update _access.conf to fix access_list.pass_auth logic
jc21 1 month ago
parent
commit
fba14817e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/templates/_access.conf

+ 1 - 1
backend/templates/_access.conf

@@ -4,7 +4,7 @@
     auth_basic            "Authorization required";
     auth_basic_user_file  /data/access/{{ access_list_id }};
 
-    {% if access_list.pass_auth == 0 or access_list.pass_auth == true %}
+    {% if access_list.pass_auth == 0 or access_list.pass_auth == false %}
     proxy_set_header Authorization "";
     {% endif %}