mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Uuuuh how was it even supposed to work eh
This commit is contained in:
parent
31a325dc8c
commit
d6d775f0dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue