1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00
pixelfed/app/Providers/EventServiceProvider.php

36 lines
704 B
PHP
Raw Normal View History

2018-04-15 23:56:48 +00:00
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2018-08-28 03:07:36 +00:00
use Illuminate\Support\Facades\Event;
2018-04-15 23:56:48 +00:00
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2018-09-16 00:36:04 +00:00
'Illuminate\Auth\Events\Login' => [
'App\Listeners\AuthLogin',
2018-04-15 23:56:48 +00:00
],
2018-09-16 00:36:04 +00:00
'Illuminate\Auth\Events\Failed' => [
'App\Listeners\LogFailedLogin',
2018-07-23 17:29:20 +00:00
],
2018-04-15 23:56:48 +00:00
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}