summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/AuthenticationProviderManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/AuthenticationProviderManager.php')
-rw-r--r--Core/Authentication/AuthenticationProviderManager.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Core/Authentication/AuthenticationProviderManager.php b/Core/Authentication/AuthenticationProviderManager.php
index 1d85e87..a82b9fb 100644
--- a/Core/Authentication/AuthenticationProviderManager.php
+++ b/Core/Authentication/AuthenticationProviderManager.php
@@ -59,6 +59,10 @@ class AuthenticationProviderManager implements AuthenticationManagerInterface
try {
$result = $provider->authenticate($token);
+
+ if (null !== $result) {
+ break;
+ }
} catch (AccountStatusException $e) {
$e->setExtraInformation($token);