[dokuwiki] Patch for Bug FS#1050 (Updating user profile)

  • From: "Gabriel Birke" <Gabriel.Birke@xxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Wed, 20 Feb 2008 09:56:44 +0100


The following patch fixes Bug #1050: When a user updates his profile, the
changes can only be seen after he has logged out. This is because the
username and E-Mail are cached in the session. The fix described in the
first comment of the error report doesn't work because the session is
already closed when the interpreter reaches that part of the code. My patch
re-opens the session, wirites the changes to it and and closes it
afterwards. the two global variables $INFO['userinfo'] and $USERINFO are
also updated.

I have tested the patch with the daily snapshot dokuwiki-2008-02-20 and
plain auth.



Other related posts:

  • » [dokuwiki] Patch for Bug FS#1050 (Updating user profile)