How do you programmatically change the password of a Sugar user? And what are the rules for passwords (e.g., alpha, numeric, min/max length)?
How do you programmatically change the password of a Sugar user? And what are the rules for passwords (e.g., alpha, numeric, min/max length)?
You can change it by updating the user_hash column of the corresponding record with the md5 hash of whatever password you want to assign to that user.
Sugar does not currently use any type of password policy, so it would be up to you to define and enforce it if you want one. 5.5 will provide that functionality.
Regards,
Angel Magaņa
Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
Blog: http://cheleguanaco.blogspot.com.
Twitter: @cheleguanaco.
________
| Projects: |_____________________________________
|
| CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
| GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
| CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
| Round Robin Leads Assignment
| Phone Number Formatter
| CaseTwit (Twitter Integration)
______________________________________________
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks