From a5328a9ff434990ce87d0a24d9c4be57235e6b01 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 29 Jan 2023 06:57:49 +0100 Subject: [PATCH 1/2] Remove unused environment variables. --- .env.example | 2 -- 1 file changed, 2 deletions(-) diff --git a/.env.example b/.env.example index 0c7a01fcc8..8096cda234 100644 --- a/.env.example +++ b/.env.example @@ -158,9 +158,7 @@ MANDRILL_SECRET= SPARKPOST_SECRET= # Firefly III can send you the following messages. -SEND_REGISTRATION_MAIL=true SEND_ERROR_MESSAGE=true -SEND_LOGIN_NEW_IP_WARNING=true # These messages contain (sensitive) transaction information: SEND_REPORT_JOURNALS=true From fbe5a5dd392bab9cd3c7bc5f925cedc63189f830 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 29 Jan 2023 07:00:42 +0100 Subject: [PATCH 2/2] Remove env vars from config --- config/firefly.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/firefly.php b/config/firefly.php index e60390db4d..7168273893 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -128,8 +128,6 @@ return [ 'allow_webhooks' => env('ALLOW_WEBHOOKS', false), // email flags - 'send_registration_mail' => env('SEND_REGISTRATION_MAIL', true), - 'warn_new_ip' => env('SEND_LOGIN_NEW_IP_WARNING', true), 'send_report_journals' => envNonEmpty('SEND_REPORT_JOURNALS', true), // info for demo site