[patch] Removing email from preferences makes account unusable
|Reported by:||heikki||Owned by:||pacopablo|
|Severity:||normal||Keywords:||user account corrupt|
I had just installed Trac with admin user and AccountManager plugin. I then logged in as admin, and changed the admin prefs to have a name and email address. (This actually limited the account since I had not yet set up outgoing email, but there is a separate bug for that.) I then decided I'd make the email field empty in the hopes that the situation would fix itself. Unfortunately doing that caused every page to show KeyError: 'email' while logged in as that user.
The way I recovered was to use trac-admin to create a new admin account, login with that, delete the old admin account, use trac-admin again to recreate the old admin account, set up working email for admin, and finally delete the second admin account.
Change History (11)
Changed 6 years ago by anonymous
comment:4 Changed 6 years ago by pacopablo
- Owner changed from mgood to pacopablo
- Status changed from new to assigned