Removing unnecessary override

This commit is contained in:
Ryan Weaver 2015-09-22 19:45:03 -04:00
parent e353833baf
commit d763134e1a
1 changed files with 0 additions and 12 deletions

View File

@ -50,18 +50,6 @@ class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenIn
parent::setAuthenticated(true);
}
/**
* {@inheritdoc}
*/
public function setAuthenticated($isAuthenticated)
{
if ($isAuthenticated) {
throw new \LogicException('Cannot set this token to trusted after instantiation.');
}
parent::setAuthenticated(false);
}
/**
* This is meant to be only an authenticated token, where credentials
* have already been used and are thus cleared.