Closed (fixed)
Project:
Dev Roles Users
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2016 at 18:02 UTC
Updated:
18 Oct 2016 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dfranca commentedThis is happening because the user_save function only generate user_hash_password if the edit parameter is passed.
If this is not done this way, it ends up saving the raw password into the database and the login won't work.
Comment #3
dfranca commentedComment #4
badjava commentedI think technically it should be NULL being passed, not an empty string. Otherwise this patch looks good to me.
Comment #5
dfranca commentedComment #6
dfranca commentedCode updated. Thanks badjava.
Comment #7
badjava commentedReproduced the issue and the patch fixes it.
Comment #9
natanmoraesPatch committed. Thanks guys.