mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-26 16:51:00 +08:00
session should not get cleared automatically before 24h
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
54f39b5334
commit
b47e674aa7
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ ini_set('session.save_path', $dataConst->GetSessionDirectory());
|
|||
// Auto logout on browser close
|
||||
ini_set('session.cookie_lifetime', '0');
|
||||
|
||||
# Keep session for 24h max
|
||||
ini_set('session.gc_maxlifetime', '86400');
|
||||
|
||||
// Create app
|
||||
AppFactory::setContainer($container);
|
||||
$app = AppFactory::create();
|
||||
|
|
Loading…
Reference in a new issue