Merge pull request #10437 from firefly-iii/release-1749442144

🤖 Automatically merge the PR into the develop branch.
This commit is contained in:
github-actions[bot]
2025-06-09 06:09:10 +02:00
committed by GitHub

View File

@@ -131,8 +131,8 @@ class ForgotPasswordController extends Controller
} }
// is allowed to? // is allowed to?
$singleUserMode = app('fireflyconfig')->get('single_user_mode', config('firefly.configuration.single_user_mode'))->data; $singleUserMode = app('fireflyconfig')->get('single_user_mode', config('firefly.configuration.single_user_mode'))->data;
$userCount = User::count(); $userCount = User::count();
$allowRegistration = true; $allowRegistration = true;
$pageTitle = (string) trans('firefly.forgot_pw_page_title'); $pageTitle = (string) trans('firefly.forgot_pw_page_title');
if (true === $singleUserMode && $userCount > 0) { if (true === $singleUserMode && $userCount > 0) {