Fixes: U4-6969 Property label localization in 7.3 always uses en-US locale

This commit is contained in:
Shannon
2015-09-16 15:22:40 +02:00
parent 65969e22a0
commit 779dd26527
3 changed files with 31 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ namespace Umbraco.Web.Security.Identity
GlobalSettings.TimeOutInMinutes,
GlobalSettings.UseSSL)
{
Provider = new CookieAuthenticationProvider
Provider = new BackOfficeCookieAuthenticationProvider
{
// Enables the application to validate the security stamp when the user
// logs in. This is a security feature which is used when you
@@ -143,7 +143,7 @@ namespace Umbraco.Web.Security.Identity
.OnValidateIdentity<BackOfficeUserManager, BackOfficeIdentityUser, int>(
TimeSpan.FromMinutes(30),
(manager, user) => user.GenerateUserIdentityAsync(manager),
identity => identity.GetUserId<int>())
identity => identity.GetUserId<int>()),
}
};