summaryrefslogtreecommitdiffstats
path: root/Core/Exception/CredentialsExpiredException.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Exception/CredentialsExpiredException.php')
-rw-r--r--Core/Exception/CredentialsExpiredException.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/CredentialsExpiredException.php b/Core/Exception/CredentialsExpiredException.php
index a4d42c8..b9bf2d1 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 'Credentials have expired.';
+ }
}