8000 [Security] fixed English grammar in exception message · symfony/symfony@69e0451 · GitHub
[go: up one dir, main page]

Skip to content

Commit 69e0451

Browse files
committed
[Security] fixed English grammar in exception message
1 parent 26f933e commit 69e0451

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Security/Core/Exception/SessionUnavailableException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* Possible reasons for this are:
1818
*
19-
* a) The session timed-out because the user waited too long.
19+
* a) The session timed out because the user waited too long.
2020
* b) The user has disabled cookies, and a new session is started on each
2121
* request.
2222
*

src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public final function handle(GetResponseEvent $event)
133133

134134
try {
135135
if (!$request->hasPreviousSession()) {
136-
throw new SessionUnavailableException('Your session has timed-out, or you have disabled cookies.');
136+
throw new SessionUnavailableException('Your session has timed out, or you have disabled cookies.');
137137
}
138138

139139
if (null === $returnValue = $this->attemptAuthentication($request)) {

0 commit comments

Comments
 (0)
0