From 4c86fb88fe9ec07e863ed657b46786dea3ff6b67 Mon Sep 17 00:00:00 2001 From: "dangofactory (ketsuban)" Date: Sat, 3 Oct 2026 16:51:23 +0900 Subject: CGI skin anonymous: disable the session-expiry check Applied to the installed tree at /usr/local/lib/fml/current-20260601 (the fml_version in /usr/local/etc/fml/main.cf), which is what the dev-list@dangofactory.net mailing list actually loads. Upstream file: fml/lib/FML/CGI/Skin/Anonymous.pm Host copy: /usr/local/lib/fml/current-20260601/FML/CGI/Skin/Anonymous.pm --- fml/lib/FML/CGI/Skin/Anonymous.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fml/lib/FML/CGI/Skin/Anonymous.pm b/fml/lib/FML/CGI/Skin/Anonymous.pm index 92682c9b..70c57f20 100644 --- a/fml/lib/FML/CGI/Skin/Anonymous.pm +++ b/fml/lib/FML/CGI/Skin/Anonymous.pm @@ -192,11 +192,11 @@ sub _anonymous_is_human_operating my $db = new FML::CGI::Anonymous::DB $curproc; # 1. expired ? - if ($db->is_expired($session_id)) { - $curproc->logerror("expired request"); - $global_error_reason = "expired"; - return 0; - } + #if ($db->is_expired($session_id)) { + # $curproc->logerror("expired request"); + # $global_error_reason = "expired"; + # return 0; + #} # 2. not expired, ok, check if the magic string is correct. if ($db->is_correct_magic_string($session_id, $magic_string)) { -- cgit v1.2.1