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

Commit ce82f42

Browse files
committed
minor #35657 [Security] Fix exception name in doc comments (chalasr)
This PR was squashed before being merged into the 3.4 branch (closes #35657). Discussion ---------- [Security] Fix exception name in doc comments | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- f10098e9f1 [Security] Fix exception name in doc comments
2 parents 79cd3ed + d5f281c commit ce82f42

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
@@ -82,7 +82,7 @@ public function authenticate(TokenInterface $token)
8282
return $token;
8383
}
8484

85-
// this AccountStatusException causes the user to be logged out
85+
// this AccountExpiredException causes the user to be logged out
8686
throw new AuthenticationExpiredException();
8787
}
8888

0 commit comments

Comments
 (0)