From e237579cb215efb0fc9ef2aeed5ad5c91ee4ee8d Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 23 Mar 2020 11:15:17 +0100 Subject: [PATCH] Update guard_authentication.rst Minor clarification --- security/guard_authentication.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/guard_authentication.rst b/security/guard_authentication.rst index 6f050885c96..4b2aa8681b5 100644 --- a/security/guard_authentication.rst +++ b/security/guard_authentication.rst @@ -118,10 +118,10 @@ This requires you to implement several methods:: public function checkCredentials($credentials, UserInterface $user) { - // check credentials - e.g. make sure the password is valid - // no credential check is needed in this case + // Check credentials - e.g. make sure the password is valid. + // In case of an API token, no credential check is needed. - // return true to cause authentication success + // Return `true` to cause authentication success return true; }