From 69e0451143517ac93ecc6424c2e416072aa03e23 Mon Sep 17 00:00:00 2001 From: Douglas Greenshields Date: Tue, 1 May 2012 14:45:52 +0100 Subject: [PATCH] [Security] fixed English grammar in exception message --- .../Security/Core/Exception/SessionUnavailableException.php | 2 +- .../Security/Http/Firewall/AbstractAuthenticationListener.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Exception/SessionUnavailableException.php b/src/Symfony/Component/Security/Core/Exception/SessionUnavailableException.php index a00a503d5f..519164a323 100644 --- a/src/Symfony/Component/Security/Core/Exception/SessionUnavailableException.php +++ b/src/Symfony/Component/Security/Core/Exception/SessionUnavailableException.php @@ -16,7 +16,7 @@ namespace Symfony\Component\Security\Core\Exception; * * Possible reasons for this are: * - * a) The session timed-out because the user waited too long. + * a) The session timed out because the user waited too long. * b) The user has disabled cookies, and a new session is started on each * request. * diff --git a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php b/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php index 4c6689e198..0e6f9451b9 100644 --- a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php @@ -133,7 +133,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface try { if (!$request->hasPreviousSession()) { - throw new SessionUnavailableException('Your session has timed-out, or you have disabled cookies.'); + throw new SessionUnavailableException('Your session has timed out, or you have disabled cookies.'); } if (null === $returnValue = $this->attemptAuthentication($request)) {