🤖 Auto commit for release 'develop' on 2025-06-09

This commit is contained in:
JC5
2025-06-09 06:09:04 +02:00
parent 4ffca9e2ca
commit a0bc8b2ba2

View File

@@ -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) {