Skip to content

Commit 8d00843

Browse files
Merge branch '3.4' into 4.3
* 3.4: [Validator] fix access to uninitialized property when getting value [HttpKernel] Fix stale-if-error behavior, add tests Improved error message when no supported user provider is found
2 parents b22f9e7 + 3e67d00 commit 8d00843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

User/ChainUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function refreshUser(UserInterface $user)
9191
$e->setUsername($user->getUsername());
9292
throw $e;
9393
} else {
94-
throw new UnsupportedUserException(sprintf('The account "%s" is not supported.', \get_class($user)));
94+
throw new UnsupportedUserException(sprintf('There is no user provider for user "%s". Shouldn\'t the "supportsClass()" method of your user provider return true for this classname?', \get_class($user)));
9595
}
9696
}
9797

0 commit comments

Comments
 (0)