[fix] Nextcloud calls strangely logout the user in SSO

This commit is contained in:
ljf 2021-07-02 19:49:17 +02:00
parent 6de4b10e81
commit f6ddb7af65

View file

@ -461,7 +461,7 @@ function refresh_user_cache(user)
else else
-- Else, just revalidate session for another day by default -- Else, just revalidate session for another day by default
password = cache:get(user.."-password") password = cache:get(user.."-password")
cache:set(user.."-password", password, conf["session_timeout"]) cache:replace(user.."-password", password, conf["session_timeout"])
end end
end end