I'm trying to update a user password on save via a custom field (on registration via the back-end - the admin needs to specify a password on registering a user). Is this even possible?
Came across this question How do I change a user's password programmatically in a plugin? and tried using the
users.onBeforeSaveUser event to update the
$user->newPassword but the user cannot login with the details registered/created.
Any thoughts on above appreciated!