Replace config calls.

This commit is contained in:
James Cole
2025-12-20 06:42:11 +01:00
parent b0cc5f3a46
commit 0f0cdb8e96
42 changed files with 90 additions and 89 deletions

View File

@@ -142,7 +142,7 @@ class ForgotPasswordController extends Controller
}
// is allowed to?
$singleUserMode = app('fireflyconfig')->get('single_user_mode', config('firefly.configuration.single_user_mode'))->data;
$singleUserMode = \FireflyIII\Support\Facades\FireflyConfig::get('single_user_mode', config('firefly.configuration.single_user_mode'))->data;
$userCount = User::count();
$allowRegistration = true;
$pageTitle = (string) trans('firefly.forgot_pw_page_title');