Uuuuh how was it even supposed to work eh

This commit is contained in:
Alexandre Aubin 2023-11-28 19:13:59 +01:00
parent 31a325dc8c
commit d6d775f0dc

View file

@ -29,7 +29,7 @@ function get_cookie_secret()
local cookie_secret_path = conf_["cookie_secret_file"] or "/etc/yunohost/.ssowat_cookie_secret" local cookie_secret_path = conf_["cookie_secret_file"] or "/etc/yunohost/.ssowat_cookie_secret"
if file_can_be_opened_for_reading(cookie_secret_path) then if file_can_be_opened_for_reading(cookie_secret_path) == false then
ngx.log(ngx.STDERR, "Cookie secret file doesn't exist (yet?) or can't be opened for reading. Authentication will be disabled for now.") ngx.log(ngx.STDERR, "Cookie secret file doesn't exist (yet?) or can't be opened for reading. Authentication will be disabled for now.")
return nil return nil
end end