[Security] fixed exception message in EncoderFactory
This commit is contained in:
parent
092b5dde62
commit
d4b0a9caaa
@ -44,7 +44,7 @@ class EncoderFactory implements EncoderFactoryInterface
|
|||||||
return $this->encoders[$class];
|
return $this->encoders[$class];
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($class) ? get_class($user) : $class));
|
throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($user) ? get_class($user) : $user));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user