Skip to content

Firefly III: a personal finances manager

More fine-grained cookie control.

James Cole7227418c4c8e
diff --git a/.env.example b/.env.example
index b4ab896c88..d9522e8d64 100755
--- a/.env.example
+++ b/.env.example
@@ -13,6 +13,10 @@ CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
+COOKIE_PATH="/"
+COOKIE_DOMAIN=
+COOKIE_SECURE=false
+
DEFAULT_CURRENCY=EUR
DEFAULT_LANGUAGE=en_US
diff --git a/config/firefly.php b/config/firefly.php
index 9d82d5cea3..c47f2d1707 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -2,7 +2,7 @@
return [
'chart' => 'chartjs',
- 'version' => '3.8.0',
+ 'version' => '3.8.1',
'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'],
'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
'csv_import_enabled' => true,
diff --git a/config/session.php b/config/session.php
index e90989cd8a..f03e290cd0 100644
--- a/config/session.php
+++ b/config/session.php
@@ -122,7 +122,7 @@ return [
|
*/
- 'path' => '/',
+ 'path' => env('COOKIE_PATH', '/'),
/*
|--------------------------------------------------------------------------
@@ -135,7 +135,7 @@ return [
|
*/
- 'domain' => null,
+ 'domain' => env('COOKIE_DOMAIN', null),
/*
|--------------------------------------------------------------------------
@@ -148,6 +148,6 @@ return [
|
*/
- 'secure' => false,
+ 'secure' => env('COOKIE_SECURE', false),
];