Opened 10 years ago

Closed 10 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


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.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

password_store = SessionStore
#hash_method = HtPasswdHashMethod
hash_method = HtDigestHashMethod

Attachments (1)

ac_mgr_sessionstore_sqlite.patch (420 bytes) - added by nigelsim 10 years ago.
Patch to add db.commit in.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by nigelsim

Patch to add db.commit in.

comment:1 Changed 10 years ago by John Hampton

Resolution: fixed
Status: newclosed

This was fixed in [3515]

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matt Good.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.