Fixes: U4-3821 Infinite redirect loop when upgrading from 7.0.0 to 7.0.1 and ensures media cache is rebuilt on upgrade
This commit is contained in:
@@ -35,6 +35,17 @@ namespace Umbraco.Web.Editors
|
||||
return View(GlobalSettings.Path.EnsureEndsWith('/') + "Views/Default.cshtml");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This Action is used by the installer when an upgrade is detected but the admin user is not logged in. We need to
|
||||
/// ensure the user is authenticated before the install takes place so we redirect here to show the standard login screen.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public ActionResult AuthorizeUpgrade()
|
||||
{
|
||||
return View(GlobalSettings.Path.EnsureEndsWith('/') + "Views/AuthorizeUpgrade.cshtml");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the JavaScript main file including all references found in manifests
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user