Skip to content

Commit b07d062

Browse files
committed
kill
1 parent 9a82986 commit b07d062

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

app/Providers/AppServiceProvider.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
namespace App\Providers;
44

55
use Illuminate\Foundation\Http\Events\RequestHandled;
6-
use Illuminate\Support\Facades\Auth;
76
use Illuminate\Support\Facades\Event;
87
use Illuminate\Support\Facades\Log;
98
use Illuminate\Support\ServiceProvider;
10-
use Laravel\Nightwatch\Facades\Nightwatch;
119

1210
class AppServiceProvider extends ServiceProvider
1311
{
@@ -32,11 +30,5 @@ public function boot(): void
3230
'user_agent' => $event->request->userAgent(),
3331
]);
3432
});
35-
36-
Nightwatch::user(fn ($user) => [
37-
'ip' => request()->ip(),
38-
'user_agent' => request()->userAgent(),
39-
'name' => Auth::user()?->email ?? 'guest',
40-
]);
4133
}
4234
}

0 commit comments

Comments
 (0)