diff --git a/src/Auth/Guard.php b/src/Auth/Guard.php index dae0ae1..06c7917 100644 --- a/src/Auth/Guard.php +++ b/src/Auth/Guard.php @@ -125,7 +125,7 @@ protected function fireAttemptEvent(array $credentials) { if (isset($this->events)) { $this->events->dispatch(new Attempting( - $credentials, false + $this->name, $credentials, false )); } } @@ -140,7 +140,7 @@ protected function fireAttemptEvent(array $credentials) protected function fireFailedEvent($user, array $credentials) { if (isset($this->events)) { - $this->events->dispatch(new Failed($user, $credentials)); + $this->events->dispatch(new Failed($this->name, $user, $credentials)); } } @@ -154,7 +154,7 @@ protected function fireFailedEvent($user, array $credentials) protected function fireLoginEvent($user) { if (isset($this->events)) { - $this->events->dispatch(new Login($user, false)); + $this->events->dispatch(new Login($this->name, $user, false)); } } @@ -489,4 +489,4 @@ public function getToken() return $this->token; } -} \ No newline at end of file +}