U4-8898 Blank login screen after upgrade to 7.5.x

Moves the updating of the CDF version to the very beginning before we even redirect to the login screen so it is nicely cachebusted
This commit is contained in:
Sebastiaan Janssen
2016-09-03 10:23:17 +02:00
parent 71482f0fc9
commit a3c99531bf
2 changed files with 4 additions and 4 deletions

View File

@@ -44,6 +44,10 @@ namespace Umbraco.Web.Install.Controllers
if (ApplicationContext.Current.IsUpgrading)
{
// Update ClientDependency version
var clientDependencyConfig = new ClientDependencyConfiguration(ApplicationContext.Current.ProfilingLogger.Logger);
var clientDependencyUpdated = clientDependencyConfig.IncreaseVersionNumber();
var result = _umbracoContext.Security.ValidateCurrentUser(false);
switch (result)