From 9068d576f38399b820100b7f89518800fc3e8f94 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Wed, 1 May 2024 15:47:13 -0400 Subject: Fixed session timeout to be one day for real this time --- captain/db.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'captain/db.f90') diff --git a/captain/db.f90 b/captain/db.f90 index 7ee0515..389e19e 100644 --- a/captain/db.f90 +++ b/captain/db.f90 @@ -1716,7 +1716,7 @@ contains session_expired_db = .true. ! Statement should return the count of sessions that _has not_ expired! - if(stmt%prepare(db, "SELECT COUNT(*) FROM sessions WHERE accessed > datetime('now', '-30 minutes') AND session=?") & + if(stmt%prepare(db, "SELECT COUNT(*) FROM sessions WHERE accessed > datetime('now', '-1 day') AND session=?") & == SQLITE_OK) & then -- cgit v1.2.3