i've been try get the credentials (password) of the user after login, but i can't because the method eraseCredentials is called in AuthenticationProviderManager.
Have any way that I choose don't call eraseCredentials?? I see that second parameter of AuthenticationProviderManager constructor have the eraseCredentials flag, have any way that I force this parameter to false? to can use $token->getCredentials() for return the password presented by logged user???
- Code: Select all
class AuthenticationProviderManager implements AuthenticationManagerInterface {
...
public function __construct(array $providers, $eraseCredentials = true) {
...
I'm trying to do this in many ways a few hours, but i don't have success.
Thanks so far.
Best regards.
Lucas
