refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
31
app/Providers/EventServiceProvider.php
Normal file
31
app/Providers/EventServiceProvider.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user