> */ protected $listen = []; /** * Indicates if events should be discovered. * * @var bool */ protected static $shouldDiscoverEvents = true; /** * Configure the proper event listeners for email verification. */ protected function configureEmailVerification(): void {} public function boot(): void { // Framework auto-registers SendEmailVerificationNotification on Registered. // Verification is user-initiated via the email verification banner instead. $this->app->booted(function () { Event::forget(Registered::class); }); } }