Closed grthi closed 2 years ago
This is how it worked with FOSUser: https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Util/PasswordUpdater.php
Can you check with https://github.com/sonata-project/SonataUserBundle/pull/1484 to see if you can create an admin (with the roles needed) via CLI commands and if you are able to log in with it.
This way we can be sure this is a problem with how was the password generated with FOSUser or something general for the 5.x branch.
Also keep in mind the 5.x branch is unstable and not ready for production usage.
So finally I have use the bo interface for forgot password to can be able to login in BO.
But thanks, for the #1484, it must do what I need.
I close this so.
Do not close please, I would like to take a look at why the password set previously with FOSUser does not work with the new version.
Do you know what changes in the database between a non working password and a working one? (same password)
Closing for now, since I can't reproduce on fresh upgrades form SonataUserBundle 4 to 5.
See: https://github.com/sonata-project/SonataUserBundle/issues/1465#issuecomment-1048540171
Hello, Im upgrading from sonata user bundle from version "4.5.3" to this new "5.x-dev"
I have replace this part in security.yaml
With this new code
So I must have continue to use same "bcrypt" encoding like before. But I have password not working anymore to login in BO with existing admin accounts,
Have we a command to reinit them? Or what is the process?
I do not find information about this, perhaps I have miss something?
Thanks for help.