diff --git a/security/custom_authenticator.rst b/security/custom_authenticator.rst index 8cc8236e2fb..7fa55093839 100644 --- a/security/custom_authenticator.rst +++ b/security/custom_authenticator.rst @@ -342,7 +342,7 @@ would initialize the passport like this:: $username = $request->getPayload()->get('username'); $csrfToken = $request->getPayload()->get('csrf_token'); - // ... validate no parameter is empty + // ... return new Passport( new UserBadge($username),