Modify

Opened 6 years ago

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

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)

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

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by nigelsim

Patch to add db.commit in.

comment:1 Changed 6 years ago by pacopablo

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

This was fixed in [3515]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.