modules/admin-full: remove session expiry workaround from setting
This commit is contained in:
parent
c8ffc897e3
commit
bf7b19f33b
1 changed files with 0 additions and 3 deletions
|
@ -51,9 +51,6 @@ function action_clock_status()
|
|||
if set ~= nil and set > 0 then
|
||||
local date = os.date("*t", set)
|
||||
if date then
|
||||
-- prevent session timeoutby updating mtime
|
||||
nixio.fs.utimes(luci.sauth.sessionpath .. "/" .. luci.dispatcher.context.authsession, set, set)
|
||||
|
||||
luci.sys.call("date -s '%04d-%02d-%02d %02d:%02d:%02d'" %{
|
||||
date.year, date.month, date.day, date.hour, date.min, date.sec
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue