diff --git a/src/Listeners/LogAuthAction.php b/src/Listeners/LogAuthAction.php index d0cc986..955bc3d 100644 --- a/src/Listeners/LogAuthAction.php +++ b/src/Listeners/LogAuthAction.php @@ -26,7 +26,7 @@ public function handle($event, array $context = null): void 'ip_address' => Request::ip(), 'user_agent' => Request::userAgent(), 'context' => is_array($context) ? json_encode($context) : null, - 'created_at' => Carbon::now()->timezone(config('app.timezone')), + 'created_at' => Carbon::now()->timezone(config('app.timezone', 'UTC')), ]); }