Skip to content

Commit 0df9393

Browse files
jmlerouxOskarStark
authored andcommitted
[Security] Fixes typo in experimental authenticators
`$email` was not defined in the example.
1 parent ad3b6ff commit 0df9393

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)