0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-01 06:59:52 +00:00

Introduce an env variable for the Session Cookie Path

This commit is contained in:
ckleemann 2021-02-20 14:25:28 +01:00
parent 2df82dd870
commit 3fc935d4bb
No known key found for this signature in database
GPG key ID: BC35531EEC02323C
2 changed files with 2 additions and 1 deletions

View file

@ -73,6 +73,7 @@ SESSION_DRIVER=file
# Session configuration # Session configuration
SESSION_LIFETIME=120 SESSION_LIFETIME=120
SESSION_COOKIE_NAME=bookstack_session SESSION_COOKIE_NAME=bookstack_session
SESSION_COOKIE_PATH=/
SESSION_SECURE_COOKIE=false SESSION_SECURE_COOKIE=false
# Cache key prefix # Cache key prefix

View file

@ -59,7 +59,7 @@ return [
// The session cookie path determines the path for which the cookie will // The session cookie path determines the path for which the cookie will
// be regarded as available. Typically, this will be the root path of // be regarded as available. Typically, this will be the root path of
// your application but you are free to change this when necessary. // your application but you are free to change this when necessary.
'path' => '/', 'path' => env('SESSION_COOKIE_PATH', '/'),
// Session Cookie Domain // Session Cookie Domain
// Here you may change the domain of the cookie used to identify a session // Here you may change the domain of the cookie used to identify a session