Add the Laravel 5.7 email verification

This commit is contained in:
Nabeel Shahzad
2018-09-09 08:48:32 -05:00
parent 99e472f99c
commit 262aad2d7a
4 changed files with 72 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ use App\Listeners\AwardListener;
use App\Listeners\ExpenseListener;
use App\Listeners\FinanceEvents;
use App\Listeners\NotificationEvents;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
@@ -17,6 +19,10 @@ class EventServiceProvider extends ServiceProvider
ExpenseListener::class,
],
Registered::class => [
SendEmailVerificationNotification::class,
],
UserStatsChanged::class => [
AwardListener::class,
],