Skip to content

Commit adcf0c9

Browse files
authored
Fixed Failed event
Thank you very much Laravel for not pointing out the changes to be made when upgrading from 5.6 to 5.7
1 parent 2d7e889 commit adcf0c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ private function getField(string $input = null): string
242242
*/
243243
private function fireFailedLoginEvent(Authenticatable $user = null, array $credentials = [])
244244
{
245-
event(new Failed($user, $credentials));
245+
event(new Failed(config('auth.defaults.guard'), $user, $credentials));
246246
}
247247
}

0 commit comments

Comments
 (0)