From 4cdf5484476d054ae2a91ac08f4c1a19dd8c5904 Mon Sep 17 00:00:00 2001 From: Dave Roverts Date: Mon, 27 Jun 2022 20:32:57 +0200 Subject: [PATCH] fix(ActivityLog): re-enable user log, except sensitive stuff --- app/Http/Controllers/Auth/VatsimConnectController.php | 2 +- config/filament-logger.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Auth/VatsimConnectController.php b/app/Http/Controllers/Auth/VatsimConnectController.php index 8249a7f9..b2c47cab 100644 --- a/app/Http/Controllers/Auth/VatsimConnectController.php +++ b/app/Http/Controllers/Auth/VatsimConnectController.php @@ -27,7 +27,7 @@ public function callback() $user->token = $vatsimUser->token; $user->refresh_token = $vatsimUser->refreshToken; $user->refresh_token_expires_at = now()->addSeconds($vatsimUser->expiresIn); - $user->save(); + $user->saveQuietly(); Auth::login($user); diff --git a/config/filament-logger.php b/config/filament-logger.php index 4ee8af99..ea493f91 100644 --- a/config/filament-logger.php +++ b/config/filament-logger.php @@ -8,7 +8,7 @@ 'logger' => \Z3d0X\FilamentLogger\Loggers\ResourceLogger::class, 'color' => 'success', 'exclude' => [ - App\Filament\Resources\UserResource::class, + // App\Filament\Resources\UserResource::class, ], ],