Skip to content

Commit

Permalink
[Security] Fix exception name in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chalasr authored and fabpot committed Feb 10, 2020
1 parent 28eedb8 commit f10098e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Security\Core\Exception;

/**
* AuthenticationServiceException is thrown when an authenticated token becomes un-authenticated between requests.
* AuthenticationExpiredException is thrown when an authenticated token becomes un-authenticated between requests.
*
* In practice, this is due to the User changing between requests (e.g. password changes),
* causes the token to become un-authenticated.
Expand Down
Expand Up @@ -82,7 +82,7 @@ public function authenticate(TokenInterface $token)
return $token;
}

// this AccountStatusException causes the user to be logged out
// this AccountExpiredException causes the user to be logged out
throw new AuthenticationExpiredException();
}

Expand Down

0 comments on commit f10098e

Please sign in to comment.