Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 1c4666d

Browse files
committed
Fixed AuthenticationRejected event
- Closes #453
1 parent d23c635 commit 1c4666d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Listeners/LogAuthenticationRejection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
class LogAuthenticationRejection
88
{
99
/**
10-
* Constructor.
10+
* Handle the event.
1111
*
1212
* @param AuthenticationRejected $event
1313
*/
14-
public function __construct(AuthenticationRejected $event)
14+
public function handle(AuthenticationRejected $event)
1515
{
1616
info("User '{$event->user->getCommonName()}' has failed validation. They have been denied authentication.");
1717
}

0 commit comments

Comments
 (0)