Closed gremo closed 4 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Environment
Sonata packages
Symfony packages
PHP version
Subject
The admin password reset logic is wrong. If you try to reset your password AND you didn't imported FOSUser fronted routes (I don't need register/login/reset login in the frontend), you get an error.
Even if you import routes, you receive a wrong reset url in the resetting email, containing an url to the password reset of front, not of the admin itself (
sonata_user_admin_resetting_reset
).Steps to reproduce
Expected results
A reset email is sent to the email address, containing a link generated using the route
sonata_user_admin_resetting_reset
.Actual results
An exception is thrown:
If you add FOSUser routes to your routing file, the generated password reset url points to the frontend, not to the admin itself.