mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #9855
This commit is contained in:
@@ -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');
|
||||||
|
|
||||||
|
@@ -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));
|
||||||
|
Reference in New Issue
Block a user