diff --git a/src/Umbraco.Web.UI/umbraco/Install/Views/Index.cshtml b/src/Umbraco.Web.UI/umbraco/Install/Views/Index.cshtml index 666f6a5b5a..66d1c191ab 100644 --- a/src/Umbraco.Web.UI/umbraco/Install/Views/Index.cshtml +++ b/src/Umbraco.Web.UI/umbraco/Install/Views/Index.cshtml @@ -1,4 +1,5 @@ -@using Umbraco.Web +@using Umbraco.Core.Configuration +@using Umbraco.Web @using Umbraco.Web.Install.Controllers @{ Layout = null; @@ -66,6 +67,8 @@ "installApiBaseUrl": "@ViewBag.InstallApiBaseUrl", "umbracoBaseUrl": "@ViewBag.UmbracoBaseFolder" }; + Umbraco.Sys.ServerVariables.umbracoSettings = {}; + Umbraco.Sys.ServerVariables.umbracoSettings.emailRegex = "@(UmbracoConfig.For.UmbracoSettings().Content.EmailRegex)";