summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authordangofactory (ketsuban) <ketsuban@dangofactory.net>2026-10-03 16:51:23 +0900
committerdangofactory (ketsuban) <ketsuban@dangofactory.net>2026-10-03 16:51:23 +0900
commit4c86fb88fe9ec07e863ed657b46786dea3ff6b67 (patch)
tree0a92429fb7cf6a9d81e0f1dd5a195918a6f42713 /fml/lib
parent082ad6d46bccf4ae5f402e95d289a7b77063944c (diff)
downloadfml8-4c86fb88fe9ec07e863ed657b46786dea3ff6b67.tar.gz
fml8-4c86fb88fe9ec07e863ed657b46786dea3ff6b67.tar.bz2
fml8-4c86fb88fe9ec07e863ed657b46786dea3ff6b67.zip
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
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/FML/CGI/Skin/Anonymous.pm10
1 files 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)) {