FOSUserBundle
FOSUserBundle copied to clipboard
Reset password access while logged in as a different user
Ability to reset a password for the user other than the currently logged in user.
Steps to reproduce:
- (not logged in) Request reset for user A.
- Login as user B.
- Click reset for user A.
- You'll be taken to the reset form, but submitting the form will reset the password for user A (even though currently logged in as B).
I wouldn't call this a security issue, but it could be confusing for the user. I'm not sure what the best solution is:
- Show a message/warning/alert and: a. don't allow them to use the form, or b. allow them, but tell them their resetting the password for another user.
- Log them out and send them to the reset form/page.
- Redirect them to the login form (then redirect to their default page?).
- ...or?
But maybe it's not a issue worth dealing with (since it'd likely be rare as you'd need 2 accounts, etc).
Using 2.0.0-beta1
The issue is probably related to: #2298