summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Provider/AnonymousAuthenticationProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/Provider/AnonymousAuthenticationProvider.php')
-rw-r--r--Core/Authentication/Provider/AnonymousAuthenticationProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Provider/AnonymousAuthenticationProvider.php b/Core/Authentication/Provider/AnonymousAuthenticationProvider.php
index c48a27e..ea91075 100644
--- a/Core/Authentication/Provider/AnonymousAuthenticationProvider.php
+++ b/Core/Authentication/Provider/AnonymousAuthenticationProvider.php
@@ -43,7 +43,7 @@ class AnonymousAuthenticationProvider implements AuthenticationProviderInterface
return null;
}
- if ($this->key != $token->getKey()) {
+ if ($this->key !== $token->getKey()) {
throw new BadCredentialsException('The Token does not contain the expected key.');
}