Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-124814

User timezone is not used when showing password change error message

    Details

      Description

      Steps to reproduce

      1. Go to "Control Panel > Users > test"
      2. Set the user's timezone to CET
      3. Go to "Password Policies > Default Password Policy"
      4. Set Minimum Age to 10 minutes
      5. Go to "Account Settings > Password"
      6. Change the password
      7. Change the password again

      Actual results
      User timezone is not used when displaying the error message (GMT vs CET)

      Error: You cannot change your password yet. Please wait until Fri Dec 11 08:34:38 GMT 2020 before changing your password again.

      Expected results
      User timezone is used when displaying the error message

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Jonathan McCann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP10
                7.2.X
                7.3.X
                Master