Move LoginBackgroundImage to the content section instead of the security section

This commit is contained in:
Sebastiaan Janssen
2017-03-30 11:15:12 +02:00
parent 339edb2295
commit 2daf71aee4
8 changed files with 25 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ namespace Umbraco.Web
},
""umbracoSettings"": {
""allowPasswordReset"": " + (UmbracoConfig.For.UmbracoSettings().Security.AllowPasswordReset ? "true" : "false") + @",
""loginBackgroundImage"": """ + UmbracoConfig.For.UmbracoSettings().Security.LoginBackgroundImage + @"""
""loginBackgroundImage"": """ + UmbracoConfig.For.UmbracoSettings().Content.LoginBackgroundImage + @"""
},
""application"": {
""applicationPath"": """ + html.ViewContext.HttpContext.Request.ApplicationPath + @""",