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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user