Refactors the WebSecurity class to not be static and be part of the UmbracoContext. Makes a few methods internal on it so that

it's not relying on the legacy User class. Cleans up the new BasePage and EnsuredUmbracoPage
This commit is contained in:
Shannon Deminick
2013-04-04 23:30:17 +06:00
parent 87c904cc96
commit 495b4ed9e0
20 changed files with 332 additions and 189 deletions

View File

@@ -62,7 +62,7 @@ namespace Umbraco.Web.UI.Install.Steps
if (String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus))
WebSecurity.PerformLogin(u);
UmbracoContext.Current.Security.PerformLogin(u.Id);
InstallHelper.RedirectToNextStep(Page, GetCurrentStep());
}