diff options
author | Alexander <iam.asm89@gmail.com> | 2012-07-15 15:41:08 +0200 |
---|---|---|
committer | Alexander <iam.asm89@gmail.com> | 2013-01-07 20:58:58 +0100 |
commit | af4eedf60155804455d3abf68ee9720ef7dca5d4 (patch) | |
tree | f39d66e26522699f78fef38af20b3ba463132803 /Core/Exception/CredentialsExpiredException.php | |
parent | 924552dccf20ff29dc56c203458f53e86a11734a (diff) | |
download | symfony-security-af4eedf60155804455d3abf68ee9720ef7dca5d4.zip symfony-security-af4eedf60155804455d3abf68ee9720ef7dca5d4.tar.gz symfony-security-af4eedf60155804455d3abf68ee9720ef7dca5d4.tar.bz2 |
[Security] Add custom `getMessageKey` AccountStatusException childs
Diffstat (limited to 'Core/Exception/CredentialsExpiredException.php')
-rw-r--r-- | Core/Exception/CredentialsExpiredException.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/CredentialsExpiredException.php b/Core/Exception/CredentialsExpiredException.php index a4d42c8..03f96c3 100644 --- a/Core/Exception/CredentialsExpiredException.php +++ b/Core/Exception/CredentialsExpiredException.php @@ -15,7 +15,15 @@ namespace Symfony\Component\Security\Core\Exception; * CredentialsExpiredException is thrown when the user account credentials have expired. * * @author Fabien Potencier <fabien@symfony.com> + * @author Alexander <iam.asm89@gmail.com> */ class CredentialsExpiredException extends AccountStatusException { + /** + * {@inheritDoc} + */ + public function getMessageKey() + { + return 'security.exception.credentials_expired_exception'; + } } |