Files
CRM/app/Providers/EventServiceProvider.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

32 lines
765 B
PHP

<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array<string,array<int,string>>
*/
protected $listen = [
\Illuminate\Auth\Events\Registered::class => [
\Illuminate\Auth\Listeners\SendEmailVerificationNotification::class,
],
\Illuminate\Auth\Events\PasswordReset::class => [
\App\Listeners\LogoutUserDevices::class,
],
];
/**
* The subscriber classes to register.
*
* @var array
*/
protected $subscribe = [
\App\Listeners\LoginListener::class,
];
}