Skip to content

Commit 618dba4

Browse files
committed
minor #15286 [Security] Fixes typo in experimental authenticators (jmleroux)
This PR was submitted for the 5.x branch but it was merged into the 5.2 branch instead. Discussion ---------- [Security] Fixes typo in experimental authenticators `$email` was not defined in the example. Commits ------- 0df9393 [Security] Fixes typo in experimental authenticators
2 parents ad3b6ff + 0df9393 commit 618dba4

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)