[Security] fixed English grammar in exception message
This commit is contained in:
parent
26f933e7bd
commit
69e0451143
@ -16,7 +16,7 @@ namespace Symfony\Component\Security\Core\Exception;
|
|||||||
*
|
*
|
||||||
* Possible reasons for this are:
|
* 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
|
* b) The user has disabled cookies, and a new session is started on each
|
||||||
* request.
|
* request.
|
||||||
*
|
*
|
||||||
|
@ -133,7 +133,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (!$request->hasPreviousSession()) {
|
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)) {
|
if (null === $returnValue = $this->attemptAuthentication($request)) {
|
||||||
|
Reference in New Issue
Block a user