[Security] Fix exception name in doc comments
This commit is contained in:
parent
28eedb8cef
commit
f10098e9f1
@ -12,7 +12,7 @@
|
|||||||
namespace Symfony\Component\Security\Core\Exception;
|
namespace Symfony\Component\Security\Core\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AuthenticationServiceException is thrown when an authenticated token becomes un-authenticated between requests.
|
* AuthenticationExpiredException is thrown when an authenticated token becomes un-authenticated between requests.
|
||||||
*
|
*
|
||||||
* In practice, this is due to the User changing between requests (e.g. password changes),
|
* In practice, this is due to the User changing between requests (e.g. password changes),
|
||||||
* causes the token to become un-authenticated.
|
* causes the token to become un-authenticated.
|
||||||
|
@ -82,7 +82,7 @@ class GuardAuthenticationProvider implements AuthenticationProviderInterface
|
|||||||
return $token;
|
return $token;
|
||||||
}
|
}
|
||||||
|
|
||||||
// this AccountStatusException causes the user to be logged out
|
// this AccountExpiredException causes the user to be logged out
|
||||||
throw new AuthenticationExpiredException();
|
throw new AuthenticationExpiredException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user