Skip to content

Commit 5d68727

Browse files
committed
User: passes to authenticator all arguments
1 parent d7d9bee commit 5d68727

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Security/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function login($user, string $password = null): void
103103
} else {
104104
$authenticator = $this->getAuthenticator();
105105
$this->identity = $authenticator instanceof Authenticator
106-
? $authenticator->authenticate($user, $password)
106+
? $authenticator->authenticate(...func_get_args())
107107
: $authenticator->authenticate(func_get_args());
108108
}
109109

0 commit comments

Comments
 (0)