Skip to content

Commit 7f1f16c

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Security] Fixes typo in experimental authenticators
2 parents c522b17 + 618dba4 commit 7f1f16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/experimental_authenticators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ would initialize the passport like this::
582582
// ... validate no parameter is empty
583583

584584
return new Passport(
585-
new UserBadge($email),
585+
new UserBadge($username),
586586
new PasswordCredentials($password),
587587
[new CsrfTokenBadge('login', $csrfToken)]
588588
);

0 commit comments

Comments
 (0)