From 4ffca9e2ca2b45eb5e4a9db8bbdcfc3d4feedff5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 9 Jun 2025 06:05:18 +0200 Subject: [PATCH] Some fixable code. --- app/Http/Controllers/Auth/ForgotPasswordController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index 7a0e109201..c8dcc9533e 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -64,7 +64,7 @@ class ForgotPasswordController extends Controller public function sendResetLinkEmail(Request $request, UserRepositoryInterface $repository) { Log::info('Start of sendResetLinkEmail()'); - if ('web' !== config('firefly.authentication_guard')) { + if ('web' !== config('firefly.authentication_guard')) { $message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard')); Log::error($message); @@ -131,8 +131,8 @@ class ForgotPasswordController extends Controller } // is allowed to? - $singleUserMode = app('fireflyconfig')->get('single_user_mode', config('firefly.configuration.single_user_mode'))->data; - $userCount = User::count(); + $singleUserMode = app('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'); if (true === $singleUserMode && $userCount > 0) {