summaryrefslogtreecommitdiffstats
path: root/Authentication/Token/Token.php
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication/Token/Token.php')
-rw-r--r--Authentication/Token/Token.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Authentication/Token/Token.php b/Authentication/Token/Token.php
index 1903cc1..46a97e2 100644
--- a/Authentication/Token/Token.php
+++ b/Authentication/Token/Token.php
@@ -42,6 +42,8 @@ abstract class Token implements TokenInterface
}
$this->addRole($role);
}
+ $this->authenticated = false;
+ $this->immutable = false;
}
/**
@@ -107,7 +109,7 @@ abstract class Token implements TokenInterface
}
/**
- * Removes sensitive information from the token.
+ * {@inheritdoc}
*/
public function eraseCredentials()
{