Migration

If you use packages, your configuration will be kept. To use new feature, you can add these parameters:

# Position of password policy constraints message:
# above - the form
# below - the form
$pwd_show_policy_pos = "above";
 
## SMS
# Use sms
$use_sms = true;
# GSM number attribute
$sms_attribute = "mobile";
# Send SMS mail to address
$smsmailto = "{sms_attribute}@service.provider.com";
# Subject when sending email to SMTP to SMS provider
$smsmail_subject = "SMS token";
# Message
$sms_message = "username:user1\n" .
       "password:passwd\n" .
       "numberfrom:1234\n" .
       "text:{smsresetmessage} {smstoken}";
# SMS token length
$sms_token_length = 6;
 
# Invalid characters in login
# Set at least "*()&|" to prevent LDAP injection
# If empty, only alphanumeric characters are accepted
$login_forbidden_chars = "*()&|";
 
# Force HTTPS for recaptcha HTML code
$recaptcha_ssl = false;
 
## Default action
# change
# sendtoken
# sendsms
$default_action = "change";
 
## Extra messages
# They can also be defined in lang/ files
#$messages['passwordchangedextramessage'] = NULL;
#$messages['changehelpextramessage'] = NULL;