Opened 18 years ago
Closed 18 years ago
#1130 closed enhancement (invalid)
get account details from the db, don't use env.get_known_users
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | needinfo |
Cc: | Trac Release: | 0.10 |
Description
env.get_known_users only knows about users who have logged in once. This is very irritating if you create a new user with AccountManager and name and email don't show up. The proposed patch get's the details from the db instead of asking the env. The code is mostly cut'n paste from env.py except the session table is not queried.
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | dont_use_env_get_known_users.diff added |
---|
comment:1 Changed 18 years ago by
Keywords: | needinfo added |
---|
I can't replicate this problem here. The AccountManager creates a session for new users so they appear immediately in the list of accounts. Please provide details on the versions of Trac and AccountManager you're using and explicit steps taken to reproduce the problem.
comment:2 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
My fault, the user was created but my own ChangeListener choked and PasswordManager didn't get past _notify()..., sorry.
patch