Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:self-service-password:0.8:migration [2011/12/18 23:17]
127.0.0.1 external edit
documentation:self-service-password:0.8:migration [2017/01/25 12:09] (current)
Line 4: Line 4:
  
 <file php> <file php>
-Force account unlock when password ​is changed +Position of password ​policy constraints message: 
-$ad_options['​force_unlock'​] = false; +# above - the form 
-Force user change password at next login +below - the form 
-$ad_options['​force_pwd_change'​] ​false;+$pwd_show_policy_pos ​"​above"​;
  
-Shadow options - require shadowAccount objectClass +## SMS 
-Update shadowLastChange +Use sms 
-$shadow_options['​update_shadowLastChange'​] ​false+$use_sms ​true
-  +# GSM number attribute 
-Customize theme (see http://code.google.com/​intl/​de-DE/​apis/​recaptcha/​docs/​customization.html+$sms_attribute = "​mobile";​ 
-Examples: red, white, blackglassclean +Send SMS mail to address 
-$recaptcha_theme ​= "white";+$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 emptyonly 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;
 </​file>​ </​file>​