This commit is contained in:
root
2019-11-05 00:03:22 +08:00
parent 50b4da797b
commit c749e31182
4 changed files with 74 additions and 4 deletions

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,8 +13,8 @@ class EventServiceProvider extends ServiceProvider
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
'App\Events\ServerLogSaveEvent' => [
'App\Listeners\ServerLogSaveListener',
],
];