[Security] Fixed typo
This commit is contained in:
parent
92c56a5066
commit
2682bc2be5
@ -18,13 +18,11 @@ use Symfony\Component\Security\Authentication\Token\TokenInterface;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processes a pre-authenticated authentication request. The request will
|
* Processes a pre-authenticated authentication request.
|
||||||
* typically originate from a {@link org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter}
|
|
||||||
* subclass.
|
|
||||||
*
|
*
|
||||||
* This authentication provider will not perform any checks on authentication
|
* This authentication provider will not perform any checks on authentication
|
||||||
* requests, as they should already be pre-authenticated. However, the
|
* requests, as they should already be pre-authenticated. However, the
|
||||||
* AuthenticationUserDetailsService implementation may still throw a UsernameNotFoundException, for example.
|
* UserProviderInterface implementation may still throw a UsernameNotFoundException, for example.
|
||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||||
*/
|
*/
|
||||||
|
@ -185,7 +185,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($grant > $deny) {
|
if ($grant > $deny) {
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($deny > $grant) {
|
if ($deny > $grant) {
|
||||||
|
Reference in New Issue
Block a user