diff options
Diffstat (limited to 'Core/Exception/InsufficientAuthenticationException.php')
-rw-r--r-- | Core/Exception/InsufficientAuthenticationException.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/InsufficientAuthenticationException.php b/Core/Exception/InsufficientAuthenticationException.php index bbf5517..d99c03f 100644 --- a/Core/Exception/InsufficientAuthenticationException.php +++ b/Core/Exception/InsufficientAuthenticationException.php @@ -17,7 +17,15 @@ namespace Symfony\Component\Security\Core\Exception; * This is the case when a user is anonymous and the resource to be displayed has an access role. * * @author Fabien Potencier <fabien@symfony.com> + * @author Alexander <iam.asm89@gmail.com> */ class InsufficientAuthenticationException extends AuthenticationException { + /** + * {@inheritDoc} + */ + public function getMessageKey() + { + return 'security.exception.insufficient_authentication_exception'; + } } |