From 31a325dc8ce2ae60b291397e519e2c844e049cc2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 28 Nov 2023 18:13:12 +0100 Subject: [PATCH] Typoz --- access.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/access.lua b/access.lua index 3e03e42..32088ee 100644 --- a/access.lua +++ b/access.lua @@ -118,7 +118,7 @@ function check_authentication() local session_file = conf["session_folder"] .. '/' .. session_id local session_file_attrs = lfs.attributes(session_file, {"modification"}) - if session_file_attrs == nil or math.abs(["modification"] - os.time()) > 3 * 24 * 3600 then + if session_file_attrs == nil or math.abs(session_file_attrs["modification"] - os.time()) > 3 * 24 * 3600 then -- session expired return false, nil, nil end