This commit is contained in:
Sander Dorigo
2025-02-17 13:32:07 +01:00
parent 4820ef6580
commit c8e301326e
2 changed files with 2 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ class LoginController extends Controller
{ {
Log::channel('audit')->info('Show login form (1.1).'); Log::channel('audit')->info('Show login form (1.1).');
$count = DB::table('users')->whereNull('deleted_at')->count(); $count = DB::table('users')->count();
$guard = config('auth.defaults.guard'); $guard = config('auth.defaults.guard');
$title = (string) trans('firefly.login_page_title'); $title = (string) trans('firefly.login_page_title');

View File

@@ -84,7 +84,7 @@ class Installer
// Log::debug('Now in routine hasNoTables()'); // Log::debug('Now in routine hasNoTables()');
try { try {
DB::table('users')->whereNull('deleted_at')->count(); DB::table('users')->count();
} catch (QueryException $e) { } catch (QueryException $e) {
$message = $e->getMessage(); $message = $e->getMessage();
Log::error(sprintf('Error message trying to access users-table: %s', $message)); Log::error(sprintf('Error message trying to access users-table: %s', $message));