Removing unnecessary override
This commit is contained in:
parent
e353833baf
commit
d763134e1a
@ -50,18 +50,6 @@ class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenIn
|
|||||||
parent::setAuthenticated(true);
|
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
|
* This is meant to be only an authenticated token, where credentials
|
||||||
* have already been used and are thus cleared.
|
* have already been used and are thus cleared.
|
||||||
|
Reference in New Issue
Block a user