Skip to content

Commit

Permalink
Merge branch '3.4' into 4.3
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicolas-grekas committed Jan 31, 2020
2 parents b22f9e7 + 3e67d00 commit 8d00843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion User/ChainUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function refreshUser(UserInterface $user)
$e->setUsername($user->getUsername());
throw $e;
} else {
throw new UnsupportedUserException(sprintf('The account "%s" is not supported.', \get_class($user)));
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)));
}
}

Expand Down

0 comments on commit 8d00843

Please sign in to comment.