Changes between Version 98 and Version 99 of AccountManagerPlugin


Ignore:
Timestamp:
Oct 16, 2010 3:52:59 PM (4 years ago)
Author:
hasienda
Comment:

add a hint regarding reset_password option, reformatted config line examples

Legend:

Unmodified
Added
Removed
Modified
  • AccountManagerPlugin

    v98 v99  
    9595 
    9696{{{ 
     97#!cfg 
    9798[components] 
    9899trac.web.auth.LoginModule = disabled 
     
    129130 
    130131{{{ 
     132#!cfg 
    131133[components] 
    132134acct_mgr.admin.AccountManagerAdminPage = enabled 
     
    141143 
    142144{{{ 
     145#!cfg 
    143146[components] 
    144147acct_mgr.web_ui.AccountModule = enabled 
     
    147150[[Image(my-account.png)]] 
    148151 
    149 '''New for Trac 0.10:''' When used in combination with the [wiki:AccountManagerPlugin#LoginModule LoginModule] it adds a link to the login page “Forgot your password?” where users can reset their password if they’ve forgotten it. You will need to have your SMTP server information configured in your {{{trac.ini}}} for the “Forgot your password?” link to show up and enable AccountChangeListener. 
    150 {{{ 
     152'''New for Trac 0.10:''' When used in combination with the [wiki:AccountManagerPlugin#LoginModule LoginModule] it adds a link to the login page “Forgot your password?” where users can reset their password if they’ve forgotten it. You will need to have your SMTP server information configured in your {{{trac.ini}}} for the “Forgot your password?” link to show up and enable !AccountChangeListener: 
     153 
     154{{{ 
     155#!cfg 
    151156[components] 
    152157acct_mgr.notification.accountchangelistener = enabled 
    153158}}} 
    154159 
     160To disable just the password reset functionality add the following line to the {{{[account-manager]}}} section: 
     161 
     162{{{ 
     163#!cfg 
     164[account-manager] 
     165reset_password = False 
     166}}} 
     167 
    155168[[Image(reset-password.png)]] 
    156169 
    157 '''New for Trac 0.11:''' When a user resets their password they will be required to change their password on the next successful login.  This can be disabled via the `trac.ini` by setting `force_passwd_change = false`. 
     170'''New for Trac 0.11:''' When a user resets their password they will be required to change their password on the next successful login.  This can be disabled via the `trac.ini` by setting: 
     171 
     172{{{ 
     173#!cfg 
     174[account-manager] 
     175force_passwd_change = false 
     176}}} 
    158177 
    159178=== !LoginModule === 
     
    165184 
    166185{{{ 
     186#!cfg 
    167187[components] 
    168188acct_mgr.web_ui.LoginModule = enabled 
     
    173193==== Disable HTTP authentication ==== 
    174194 
    175 To use the AccountManager’s form-based login system instead, add this to the  
    176 `[components]` section of your trac.ini:  
    177  
    178 {{{ 
     195To use the AccountManager’s form-based login system instead, add this your trac.ini:  
     196 
     197{{{ 
     198#!cfg 
     199[components] 
    179200trac.web.auth.LoginModule = disabled  
    180201}}} 
     
    199220 
    200221{{{ 
     222#!cfg 
    201223[components] 
    202224acct_mgr.web_ui.RegistrationModule = enabled 
     
    217239 
    218240{{{ 
     241#!cfg 
    219242[components] 
    220243acct_mgr.web_ui.EmailVerificationModule = enabled 
     
    227250Note that if you don't want to enforce entering a valid email on registration, you may want to disable this component. An option 
    228251{{{ 
     252#!cfg 
    229253[account-manager] 
    230254verify_email = false