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:
commit
8eea5c3d5f
@ -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.
|
||||
*
|
||||
|
@ -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)) {
|
||||
|
Reference in New Issue
Block a user