Modify ↓
Opened 17 years ago
Closed 17 years ago
#2748 closed defect (fixed)
SessionStore account creation doesn't work
Reported by: | nigelsim | Owned by: | Matt Good |
---|---|---|---|
Priority: | high | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Using the session store backend with account creation, the account isn't stored, at least not when using sqlite. This is fixed by putting a db.commit() after the creation.
Trac.ini:
[components] trac.web.auth.LoginModule = disabled acct_mgr.web_ui.LoginModule = enabled acct_mgr.web_ui.RegistrationModule = enabled acct_mgr.web_ui.AccountModule = enabled acct_mgr.db.SessionStore = enabled ; choose one of the hash methods acct_mgr.pwhash.htdigesthashmethod = enabled #acct_mgr.pwhash.htpasswdhashmethod = enabled [account-manager] password_store = SessionStore #hash_method = HtPasswdHashMethod hash_method = HtDigestHashMethod
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Patch to add db.commit in.