From 8d0998bc3a8dde027da7af762ecd7fafa079fa42 Mon Sep 17 00:00:00 2001 From: ljf Date: Fri, 2 Jul 2021 19:51:02 +0200 Subject: [PATCH] [enh] Add comment --- helpers.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers.lua b/helpers.lua index 8569555..0b89466 100644 --- a/helpers.lua +++ b/helpers.lua @@ -461,6 +461,8 @@ function refresh_user_cache(user) else -- Else, just revalidate session for another day by default password = cache:get(user.."-password") + -- Here we don't use set method to avoid strange logout + -- See https://github.com/YunoHost/issues/issues/1830 cache:replace(user.."-password", password, conf["session_timeout"]) end end