mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 03:31:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace Streamline\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider{
|
||||
/**
|
||||
* The event listener mappings for the application.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $listen = [
|
||||
'Streamline\Events\Event' => [
|
||||
'Streamline\Listeners\EventListener',
|
||||
],
|
||||
'Illuminate\Auth\Events\Failed' => [
|
||||
'Streamline\Listeners\RecordFailedLoginAttempt',
|
||||
],
|
||||
// \Illuminate\Auth\Events\Failed::class => [
|
||||
// \Streamline\Listeners\RecordFailedLoginAttempt::class,
|
||||
// ],
|
||||
|
||||
/*'Illuminate\Auth\Events\Login' => [
|
||||
'Streamline\Listeners\LogSuccessfulLogin',
|
||||
],
|
||||
'Illuminate\Auth\Events\Logout' => [
|
||||
'Streamline\Listeners\LogSuccessfulLogout',
|
||||
],*/
|
||||
];
|
||||
|
||||
/**
|
||||
* Register any events for your application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot(){
|
||||
parent::boot();
|
||||
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user