diff --git a/security/experimental_authenticators.rst b/security/experimental_authenticators.rst index a8c5ee3cc55..83b3199d9ef 100644 --- a/security/experimental_authenticators.rst +++ b/security/experimental_authenticators.rst @@ -493,7 +493,7 @@ authenticator, you would initialize the passport like this:: return new Passport($user, new PasswordCredentials($password), [ // $this->userRepository must implement PasswordUpgraderInterface new PasswordUpgradeBadge($password, $this->userRepository), - new CsrfTokenBadge('login', $csrfToken); + new CsrfTokenBadge('login', $csrfToken), ]); } }