Opened 7 years ago

Closed 7 years ago

#2748 closed defect (fixed)

SessionStore account creation doesn't work

Reported by: nigelsim Owned by: mgood
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 7 years ago.
Patch to add db.commit in.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by nigelsim

Patch to add db.commit in.

comment:1 Changed 7 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from new to closed

This was fixed in [3515]

Add Comment

Modify Ticket

as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.