Show
Ignore:
Timestamp:
05/28/08 01:02:59 (6 months ago)
Author:
pacopablo
Message:

Added forcing password change after reset. Patch by s0undt3ch. Minor change such that the message indicating password reset needed isn't shown after a successful password reset. Fixes #1427

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • accountmanagerplugin/trunk/acct_mgr/api.py

    r3728 r3731  
    1111 
    1212from trac.core import * 
    13 from trac.config import Option, ExtensionOption 
     13from trac.config import Option, BoolOption, ExtensionOption 
    1414 
    1515class IPasswordStore(Interface): 
     
    8686    stores = ExtensionPoint(IPasswordStore) 
    8787    change_listeners = ExtensionPoint(IAccountChangeListener) 
     88    force_passwd_change = BoolOption('account-manager', 'force_passwd_change', 
     89                                     True, doc="Forge the user to change " 
     90                                     "password when it's reset.") 
    8891 
    8992    # Public API