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

[$PORTAL_URL$] token in "Password reset notification" email template does not resolve to the site's virtual host

    Details

      Description

      Steps to reproduce:

      1. Go to Control Panel/Instance Settings and set the Virtual Host to e.g instance.com.
      2. Set the virtual host for the public pages of site Liferay DXP to e.g mysite.com.
      3. In a different browser tab access mysite.com:8080 and click on Forgot Password.
      4. Fill in the fields and submit.

      Result: The sent email has a line that looks like this

      You can reset your password for http://instance.com:8080 at http://mysite.com:8080/c/portal/update_password?p_l_id=2&ticketKey=6db359a5-e62b-5e5f-f28d-348f80082b77
      

      Expected: It should look like this

      You can reset your password for http://mysite:8080 at http://mysite.com:8080/c/portal/update_password?p_l_id=2&ticketKey=6db359a5-e62b-5e5f-f28d-348f80082b77
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              laszlo.hudak Laszlo Hudak (Inactive)
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Laszlo Hudak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 48 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.1 CE GA2
                  7.2.X
                  7.3.10 DXP GA1
                  Master