[dokuwiki] [PATCH] bugfix in new OO auth system

  • From: Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 11 Nov 2005 20:19:44 +0100

Hi,

If a user's login name is changed (yes this is possible in the user
manager) the user manager call deleteUser() with the old username
and createUser() with the new one. If you don't set a new password at
the same time the auth backend gets an already encrypted password and
encrypt it again -> The new user can't never login again. 

This patch adds support for modifyUser() to change the username so that
the user manager don't need to call deleteUser() and createUser() anymore.
The bug described above was fixed then.

To let this patch unfold its full power another patch for the user
manager is needed. Unfortunately my darcs can't connect to Cris' user
manager repository annymore, so that I can't post the missing patch.
Chris, what's happend to your repo?

 Best Regards
   Matthias

Other related posts: