Password settings for SugarCRM / SuiteCRM

SugarCRM / SuiteCRM comes with password generation settings by default, and it is not configurable from admin panel.

You can change it by modify config_override.php file.

// Showing default values, change it as per your need 

// System generated password true/false
$sugar_config['passwordsetting']['SystemGeneratedPasswordON'] = true;

// Sent email to user with system generated password, email template id
$sugar_config['passwordsetting']['generatepasswordtmpl'] = '42378328-8034-a0f5-ae7b-510f7f8cc422';
 
// Sent email when asked for lost password, email template id
$sugar_config['passwordsetting']['lostpasswordtmpl'] = '4ebb5a24-1ab4-4c07-19d0-510f7f4b3a2b';

// Allow user to ask for forgot password true/false
$sugar_config['passwordsetting']['forgotpasswordON'] = true;

// Link sent for reset/system generated password expires true/false
$sugar_config['passwordsetting']['linkexpiration'] = true;

// Link sent for reset/system generated password expires in integer
$sugar_config['passwordsetting']['linkexpirationtime'] = 24;

// Link sent for reset/system generated password expires in Minutes(1), Hours(60), Days(1440) 0 is false
$sugar_config['passwordsetting']['linkexpirationtype'] = 60;

// System generated password expiration true/false
$sugar_config['passwordsetting']['systexpiration'] = 1;

// System generated password expiration time in integer 
$sugar_config['passwordsetting']['systexpirationtime'] = 7;
 
// System generated password expiration in Days(1), Weeks (7), 30 (Months)
0 is false
$sugar_config['passwordsetting']['systexpirationtype'] = '0';

// Password expires after N number of logins
$sugar_config['passwordsetting']['systexpirationlogin'] = '';

// Restriction on user/system generated password

// Minimum length of password integer
$sugar_config['passwordsetting']['minpwdlength'] = 6;
 
// One Upper Case character mandatory true/false
$sugar_config['passwordsetting']['oneupper'] = true;
 
// One lower case character mandatory true/false
$sugar_config['passwordsetting']['onelower'] = true;

// One numeric integer mandatory true/false 
$sugar_config['passwordsetting']['onenumber'] = true;

Hope you find this blog post helpful.

Feel free to add comments and queries, that helps us to improve the quality of posts.

You can contact us at info@techcrm.in

Thank you.

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *