New user missing in 'session' table.
|Reported by:||thm||Owned by:||hasienda|
I created a new user via the Web GUI, giving him an account name, long name, email, and password - everything looked fine. That user did not log in so far.
Now, he was set as the owner of a ticket, but the notificiations for that ticket are not sent to his email address.
Seems the reason is this: while the session_attribute table had been populated, the session table lacks an entry for the user (and as he did not log in yet, this wasn't fixed automatically), causing env.get_known_users() to not list that user and his email address.
- Trac 0.11.8dev-r10236
- TracAccountManager 0.3.2
Configuration: Passwords are stored in a htpasswd file:
[account-manager] account_changes_notify_addresses = ... force_passwd_change = False generated_password_length = 8 htpasswd_hash_type = crypt notify_actions = new,change,delete password_file = /path/to/htpasswd password_store = HtPasswdStore persistent_sessions = False refresh_passwd = False user_lock_max_time = 0 verify_email = False [components] acct_mgr.* = enabled acct_mgr.db.sessionstore = disabled acct_mgr.htfile.htdigeststore = disabled acct_mgr.http.httpauthstore = disabled acct_mgr.pwhash.htdigesthashmethod = enabled acct_mgr.svnserve.svnservepasswordstore = disabled acct_mgr.web_ui.emailverificationmodule = disabled acct_mgr.web_ui.registrationmodule = disabled
Change History (8)
comment:1 in reply to: ↑ description ; follow-up: ↓ 3 Changed 4 years ago by hasienda
- Keywords user session added