It doesnt do the same thing, but it does change only in the moodle_user but not in the external database.
General developer forum
Teacher may have rights to change a password ...
This discussion has been locked so you can no longer reply to it.