AB3677 - Moved usages of Current (Core) to Current (Web)

This commit is contained in:
Bjarke Berg
2019-12-19 15:53:50 +01:00
parent 0e4ac7f7d1
commit dfeb97caa4
101 changed files with 127 additions and 303 deletions

View File

@@ -101,7 +101,7 @@ namespace Umbraco.Web.Security
//if the user is null, create an empty one which can be used for auto-linking
if (user == null)
user = BackOfficeIdentityUser.CreateNew(userName, null, _globalSettings.DefaultUILanguage);
user = BackOfficeIdentityUser.CreateNew(_globalSettings, userName, null, _globalSettings.DefaultUILanguage);
//check the password for the user, this will allow a developer to auto-link
//an account if they have specified an IBackOfficeUserPasswordChecker