auth activity done

This commit is contained in:
nurmuhammet committed 2024-01-30 23:28:49 +05:00
1 parent a093230287
commit b3d9545900
4 files changed
+102 -5

No files matched your search

+2 -5
View File
@@ -2,8 +2,6 @@
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
@@ -15,9 +13,8 @@ class EventServiceProvider extends ServiceProvider
* @var array<class-string, array<int, class-string>>
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
'Illuminate\Auth\Events\Login' => ['App\Listeners\LoginListener'],
'Illuminate\Auth\Events\Logout' => ['App\Listeners\LogoutListener'],
];
/**