Description

When you change your username using the UserPreferences page, Moin still has the old username in its user cache, so you can still log in using it.

Steps to reproduce

  1. Change your username via the UserPreferences page.

  2. Log out.
  3. Log in using your old username, and it'll still work and show you your new username.

Details

This wiki.

Workaround

If you manually erase the user cache after a change like this, then it doesn't happen.

Discussion

Detect the event of username change in userform.py, delete or recreate the user cache file.

I do not believe that the user should be able to change their user name. I think the behavior should be to notify the user that they may not create an account while logged in. --PhilipNeustrom

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/RenamingUserAllowsOldUsernameToLogin (last edited 2008-01-21 22:54:02 by ThomasWaldmann)