[Security] minor clean

This commit is contained in:
Nicolas Grekas 2019-06-13 16:10:13 +02:00
parent 0bb0335ab6
commit 1acb50e0a4

View File

@ -54,6 +54,6 @@ class UserPasswordEncoder implements UserPasswordEncoderInterface
{
$encoder = $this->encoderFactory->getEncoder($user);
return method_exists($encoder, 'needsRehash') && $encoder->needsRehash($encoded);
return $encoder->needsRehash($encoded);
}
}