Hello everyone, I am using SugarCRM CE 6.5.X version. I want to use the hashed value of the new password of a user, when user changes his password using after_save logic hook. I used $bean and get_all_vars(), but no help. I got new password in a plain text format, but not in a hashed format. I even used database query to retrieve password from database, but it fetches old password. Please guide me soon on this.
I use that but no help. I think that sugar doesn't save hashed value of new password as soon as user presses button. It does that after some miliseconds later. Now, I am frustrated. Because of this, I can't go forward. Please guide me.
Hi, ramya. If you use after_save logic hook, when user changes his password, you will get his password in plain text format. Let me know if this helps you.
To get hashed value of newly changed password, instead of using after_save logic hook, I have used "after_ui_frame" logic hook. This logic hook helped me to get the newly changed passwords hash value.