mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[enh] Add comment
This commit is contained in:
parent
f6ddb7af65
commit
8d0998bc3a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue