merged branch shieldo/fix_exception_message (PR #4173)

Commits
-------

69e0451 [Security] fixed English grammar in exception message

Discussion
----------

[Security] fixed English grammar in exception message
This commit is contained in:
Fabien Potencier 2012-05-01 18:03:29 +02:00
commit 8eea5c3d5f
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)) {