users
users copied to clipboard
Superuser allowed to change passwords for other users
An user with is_superuser = 1 when going to ../users/users/change-password/... is all the time asked for the current password - so he/she is not able to change passwords of other users. The current password is for superuser checked in the controller
in any case, changePassword() changes the pass of the currently logged user, so if you plan to reuse the trait to implement superuser password change for any user, it wont work. You have to do it yourself
Thank you. But I thing it would be nice to have such functionality in the plug-in
Let me add this as a feature