Using Symfony2 plus FOSUserBundle, I want the user's database in the database to have no password encoders.
In security.yml
was placed:
encoders: FOS\UserBundle\Model\UserInterface: plaintext
However, when I create the user from the console:
fos:user:create -- admin [email protected] admin
The password in the database is created as follows: admin{salt...}
.
In short, it creates with the admin
password as it was informed plus the salt between keys, for example: admin{e3adudjubsgsg88kgwg4w4oscw8os4c}
.
What should I do to make this field only the password in plaintext
without the salt?