Uploaded image for project: 'Magnolia Public User Registration'
  1. Magnolia Public User Registration
  2. MGNLPUR-17

defaultBaseUrl used in the email.html template should get it's value from the request URI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Outdated
    • Icon: Minor Minor
    • 1.1.4
    • None
    • None
    • None

      The registration confirmation mails sent out use "defaultBaseUrl" to setup the link which lets the user confirm his/her registration. This value is taken form config:/server/defaultBaseUrl which makes it impossible to use PUR on more than one domain in an instance. It would be preferable if the base url + context path would be derived from the request URI.

        Acceptance criteria

          1. config.modules.public-user-registration.config.contexts.xml
            7 kB
            Will Scheidegger
          2. emailWithContext.html
            0.3 kB
            Will Scheidegger
          3. MailInContext.java
            2 kB
            Will Scheidegger
          4. RegisterInContext.java
            6 kB
            Will Scheidegger
          5. RegisterInContext.java
            6 kB
            Will Scheidegger
          6. user-registration-in-context.html
            2 kB
            Will Scheidegger

              gjoseph Magnolia International
              will Will Scheidegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: