[Security] fixed English grammar in exception message

This commit is contained in:
Douglas Greenshields 2012-05-01 14:45:52 +01:00
parent 26f933e7bd
commit 69e0451143
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*

View File

@ -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)) {