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

Commit 98eafc5

Browse files
committed
Removing unnecessary override
1 parent 8d2203d commit 98eafc5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Guard/Token/PostAuthenticationGuardToken.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ public function __construct(UserInterface $user, $providerKey, array $roles)
5050
parent::setAuthenticated(true);
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
56-
public function setAuthenticated($isAuthenticated)
57-
{
58-
if ($isAuthenticated) {
59-
throw new \LogicException('Cannot set this token to trusted after instantiation.');
60-
}
61-
62-
parent::setAuthenticated(false);
63-
}
64-
6553
/**
6654
* This is meant to be only an authenticated token, where credentials
6755
* have already been used and are thus cleared.

0 commit comments

Comments
 (0)