X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3d0e1bc9dbe3c144ad98bd22f6073fca43fc84e0..refs/pull/3138/head:/app/Config/session.php diff --git a/app/Config/session.php b/app/Config/session.php index 84916bcd4..4bbb78901 100644 --- a/app/Config/session.php +++ b/app/Config/session.php @@ -1,6 +1,6 @@ env('SESSION_COOKIE_PATH', '/'), + 'path' => '/' . (explode('/', env('APP_URL', ''), 4)[3] ?? ''), // Session Cookie Domain // Here you may change the domain of the cookie used to identify a session