From 1b1dfb0d7b6c747f5437c16b277f19579f96c03d Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 Feb 2025 11:28:39 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/9718 --- app/Http/Controllers/PreferencesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.php index 74b65c8a6c..ee7872be93 100644 --- a/app/Http/Controllers/PreferencesController.php +++ b/app/Http/Controllers/PreferencesController.php @@ -120,7 +120,7 @@ class PreferencesController extends Controller $pushoverUserToken = (string) Preferences::getEncrypted('pushover_user_token', '')->data; $ntfyServer = Preferences::getEncrypted('ntfy_server', 'https://ntfy.sh')->data; $ntfyTopic = (string) Preferences::getEncrypted('ntfy_topic', '')->data; - $ntfyAuth = Preferences::get('ntfy_auth', false)->data; + $ntfyAuth = '1' === Preferences::get('ntfy_auth', false)->data; $ntfyUser = Preferences::getEncrypted('ntfy_user', '')->data; $ntfyPass = (string) Preferences::getEncrypted('ntfy_pass', '')->data; $channels = config('notifications.channels');