[DoctrineBridge] Fixed the entity provider to support proxies
This commit is contained in:
parent
29f4111f3e
commit
649fa5219f
@ -100,6 +100,6 @@ class EntityUserProvider implements UserProviderInterface
|
||||
*/
|
||||
public function supportsClass($class)
|
||||
{
|
||||
return $class === $this->class;
|
||||
return $class === $this->class || is_subclass_of($class, $this->class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user