owncloud/core — pull request #4286 by harmsm (2013-08-01 21:36:34+00:00)
Title: check old password before creating new password

Verify that userstatus is 'user'. Without this check, the script resets the user password without verifying that the old password is correct.