We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e1bfe5 commit 4428b52Copy full SHA for 4428b52
backend/templates/_openid_connect.conf
@@ -1,4 +1,4 @@
1
-{% if openidc_enabled -%}
+{% if openidc_enabled == 1 or openidc_enabled == true -%}
2
access_by_lua_block {
3
local openidc = require("resty.openidc")
4
local opts = {
@@ -18,7 +18,7 @@
18
ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
19
end
20
21
- {% if openidc_restrict_users_enabled -%}
+ {% if openidc_restrict_users_enabled == 1 or openidc_restrict_users_enabled == true -%}
22
local function contains(table, val)
23
for i=1,#table do
24
if table[i] == val then
0 commit comments