[Security] minor clean
This commit is contained in:
parent
0bb0335ab6
commit
1acb50e0a4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user