Provide simple way for administrators to send users a new password

Created on 11 January 2006, over 18 years ago
Updated 4 September 2023, about 1 year ago

There are situations when, as an admin, I would like to send a certain user a new email. For instance, if I had to manually modify their email address, I might as well send them the new password so they can log in.

As far as I can see, it is not easy to do this at the moment. Basically you have to log out, go to user/password, and enter their name or email. Then log back in... The reason is that access to user/password is restricted by $user->uid == 0. I don't see a reason why admins should not would have access to that page, which would at least make it possible to reset the password without loging out. So I propose to change the access to '$admin_access || $user->uid == 0'.

Even with that change, it is slightly impractical to send the password just after you changed the email (for instance). I wrote a small patch that adds a "reset password" to the user view of admins. Then you can do it with just one click. I can submit my patch if it is agreed that it's useful, or I could adapt it to suggestions, just let me know.

Feature request
Status

Closed: won't fix

Version

8.1 ⚰️

Component
User module 

Last updated 1 day ago

Created by

🇭🇺Hungary dbr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024