DaveC49 / SimpleUser-Silex2

This is an mod to JasonGrimes SImpleUser updated to work with SIlex v2.0
BSD 2-Clause "Simplified" License
13 stars 7 forks source link

Security encoders #4

Closed Nico-h closed 6 years ago

Nico-h commented 7 years ago

Hi,

If I'm correct, as silex 2.2, now in UserManager, getEncoder is set in the security.encoder_factory service

    protected function getEncoder(UserInterface $user)
    {
        return $this->app['security.encoder_factory']->getEncoder($user);
    }
javiermadueno commented 6 years ago

Maybe we should create a tag for Silex > v2.0 and another one for Silex > v2.2

DaveC49 commented 6 years ago

Javier, Nico-h
I have taggesd the releases as suggested by Javier.