Compare commits

..

2 Commits

Author SHA1 Message Date
4aca432257
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:58:21 +02:00
845a48371f
RVRNEXT-33 adapt to new soko-web interfaces 2023-05-02 12:58:18 +02:00

View File

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