Compare commits

..

2 Commits

Author SHA1 Message Date
cc8f1e1ace
RVRNEXT-33 session should be valid for a session
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-05-02 12:59:45 +02:00
97e04d785c
RVRNEXT-33 adapt to new soko-web interfaces 2023-05-02 12:59:45 +02:00

View File

@ -89,7 +89,11 @@ Container::$routeCollection->group('communities', function (RouteCollection $rou
}); });
}); });
Container::$sessionHandler = new DatabaseSessionHandler(Container::$dbConnection, 'sessions', new DateTime('-1 minute')); Container::$sessionHandler = new DatabaseSessionHandler(
Container::$dbConnection,
'sessions',
new DateTime('-7 days')
);
session_set_save_handler(Container::$sessionHandler, true); session_set_save_handler(Container::$sessionHandler, true);
session_start([ session_start([