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

Account creation email does not contain the virtual host of the site from which it was originated

    Details

      Description

      *Steps to reproduce *
      1. Create a new site, e.g. "My site"
      2. In "Site settings" make sure
      a) Friendly url: /mysite
      b) Public pages virtual host: mysite.com
      3. Add a sample page if site is empty, e.g. web/mysite/first-page
      4. On host computer, edit hosts file to map mysite.com to 127.0.0.1
      5. Go to http://mysite.com:8080
      6. Make sure you are on the 2nd site, e.g. by making sure the navigation menu contains "first page"
      7. Click on "Create account" & create a new account
      8. Look at the email notification that the portal sends.

      *Expected: *
      The "account created" notification contains "http://mysite.com"

      *Actual: *
      "Welcome! You recently created an account at http://localhost:8080"

      Master: reproduced. There's also an additional email sent here:

      Dear new user,<br /><br />

      Please verify your email address for http://localhost:8080 at http://mysite.com:8080/c/portal/verify_email_address?ticketKey=c3c57d1a-e3f9-fc7f-43f3-62800f3ce3dc&p_l_id=16.<br /><br />

      Your verification code is c3c57d1a-e3f9-fc7f-43f3-62800f3ce3dc<br /><br />

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            norbert.kocsis Norbert Kocsis (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Norbert Kocsis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              30 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.10 DXP GA1
                Master