Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit b1ca979

Browse files
Merge branch '3.4' into 4.4
* 3.4: [Security] Fix exception name in doc comments
2 parents e61b0b5 + ce82f42 commit b1ca979

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Core/Exception/AuthenticationExpiredException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Core\Exception;
1313

1414
/**
15-
* AuthenticationServiceException is thrown when an authenticated token becomes un-authenticated between requests.
15+
* AuthenticationExpiredException is thrown when an authenticated token becomes un-authenticated between requests.
1616
*
1717
* In practice, this is due to the User changing between requests (e.g. password changes),
1818
* causes the token to become un-authenticated.

Guard/Provider/GuardAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function authenticate(TokenInterface $token)
8686
return $token;
8787
}
8888

89-
// this AccountStatusException causes the user to be logged out
89+
// this AccountExpiredException causes the user to be logged out
9090
throw new AuthenticationExpiredException();
9191
}
9292

0 commit comments

Comments
 (0)