mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 12:51:16 +08:00
Introduce an env variable for the Session Cookie Path
This commit is contained in:
parent
2df82dd870
commit
3fc935d4bb
|
@ -73,6 +73,7 @@ SESSION_DRIVER=file
|
|||
# Session configuration
|
||||
SESSION_LIFETIME=120
|
||||
SESSION_COOKIE_NAME=bookstack_session
|
||||
SESSION_COOKIE_PATH=/
|
||||
SESSION_SECURE_COOKIE=false
|
||||
|
||||
# Cache key prefix
|
||||
|
|
|
@ -59,7 +59,7 @@ return [
|
|||
// The session cookie path determines the path for which the cookie will
|
||||
// be regarded as available. Typically, this will be the root path of
|
||||
// your application but you are free to change this when necessary.
|
||||
'path' => '/',
|
||||
'path' => env('SESSION_COOKIE_PATH', '/'),
|
||||
|
||||
// Session Cookie Domain
|
||||
// Here you may change the domain of the cookie used to identify a session
|
||||
|
|
Loading…
Reference in New Issue
Block a user