summaryrefslogtreecommitdiffstats
path: root/Core/Exception/NonceExpiredException.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Exception/NonceExpiredException.php')
-rw-r--r--Core/Exception/NonceExpiredException.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/NonceExpiredException.php b/Core/Exception/NonceExpiredException.php
index 6a6a781..da6fba8 100644
--- a/Core/Exception/NonceExpiredException.php
+++ b/Core/Exception/NonceExpiredException.php
@@ -18,7 +18,15 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException;
* the digest nonce has expired.
*
* @author Fabien Potencier <fabien@symfony.com>
+ * @author Alexander <iam.asm89@gmail.com>
*/
class NonceExpiredException extends AuthenticationException
{
+ /**
+ * {@inheritDoc}
+ */
+ public function getMessageKey()
+ {
+ return 'Digest nonce has expired.';
+ }
}