Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard 2 posts 93 karma points
    Apr 25, 2018 @ 12:20
    Richard
    0

    Solved: User Invitation E-mail URL Using IP Address?

    It looks like the URL passed into the invitation e-mail template is using the site's IP address rather than domain name. This causes a security warning in modern browsers as the SSL certificate is normally bound to the domain.

    I can't see an obvious setting to correct this, any ideas welcome?

    (Umbraco 7.10.4)

  • Richard 2 posts 93 karma points
    Apr 26, 2018 @ 08:53
    Richard
    101

    Okay so I traced this out in the source code, which lead me to the umbracoApplicationUrl attribute of the web.routing tag in Umbraco\Config\umbracoSettings.config.

    Here you can manually assign the URL rather than rely on the code to decide when it receives the first web request. Not sure why it had picked the IP address, but overriding it with this configuration setting has now solved the problem, with well formed URL's in invitation e-mails.

Please Sign in or register to post replies

Write your reply to:

Draft