[patch] Removing email from preferences makes account unusable
|Reported by:||Heikki Toivonen (remove -bugzilla when emailing directly)||Owned by:||John Hampton|
|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)
comment:4 Changed 8 years ago by
|Owner:||changed from Matt Good to John Hampton|
|Status:||new → assigned|