Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30383

Change password with "legacy_mode: false" does not properly clear the cache

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2019.03
    • Component/s: Legacy bridge
    • Labels:
      None

      Description

      If you use the legacy bridge and an Administration Interface (legacy or Netgen Admin UI) that uses /user/password:

      If you use "Change password" (which goes to /user/password) and then change the password, when you try to log in through a siteaccess that has "legacy_mode: false" (front-end or Netgen Admin UI) it won't work with the new password. It will work with the old password. You must clear the view cache for that user for the new password to work.

      If you use "Change Information", which edits the user object and then change the user's password, this works, because it natively clears the view cache for that user.

      In summary: this issue can be reproduced by 1) changing your password with the /user/password module view; 2) logging in to any siteaccess with legacy_mode:false.

        Activity

        Show
        Peter Keung added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/1426
        Show
        André Rømcke added a comment - Merged in https://github.com/ezsystems/ezpublish-legacy/commit/eadc222de235344b69650d67448f08cf0ab9a2f3

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Keung
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: