On my machine with Apache 2.2, trac 0.12.2 and Acountmanager 0.3 I first setup user login via .htpasswd. Since resetting the PWD by the user became important, I switched to LoginModule?. Nearly everything works fine:
- user can change his pwd
- user can log in after changing his pwd
- "forgot password" generates a mail with a new pwd
- /!\ new pwd is not written into .htpasswd
- /!\ prefs can be changed without beeing logged in
[account-manager]
account_changes_notify_addresses = marc.rawer@gmx.de
force_passwd_change = true
hash_method = HtDigestHashMethod
htpasswd_hash_type = md5
notify_actions = change,delete
password_file = /var/trac/foo/.htpasswd
password_store = HtPasswdStore,SessionStore,SvnServePasswordStore
persistent_sessions = true
refresh_passwd = true
user_lock_max_time = 0
verify_email = true
[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.admin.accountmanageradminpages = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.htdigesthashmethod = disabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.emailverificationmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = disabled
acct_mgr.web_ui.resetpwstore = enabled
trac.db.postgres_backend.postgresqlconnector = disabled
trac.db.sqlite_backend.sqliteconnector = disabled
trac.web.auth.loginmodule = disabled
tracopt.ticket.commit_updater.committicketreferencemacro = disabled
tracopt.ticket.commit_updater.committicketupdater = disabled
tracwysiwyg.wysiwygmodule = enabled