Procházet zdrojové kódy

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

Update _access.conf to fix access_list.pass_auth logic
jc21 před 1 měsícem
rodič
revize
fba14817e7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 %}