diff --git a/src/Umbraco.Core/Security/AuthenticationExtensions.cs b/src/Umbraco.Core/Security/AuthenticationExtensions.cs index 7c4d2980b1..8511d39125 100644 --- a/src/Umbraco.Core/Security/AuthenticationExtensions.cs +++ b/src/Umbraco.Core/Security/AuthenticationExtensions.cs @@ -78,7 +78,8 @@ namespace Umbraco.Core.Security /// /// /// If set to true and a back office identity is not found and not authenticated, this will attempt to authenticate the - /// request just as is done in the Umbraco module and then set the current identity if it is valid + /// request just as is done in the Umbraco module and then set the current identity if it is valid. + /// Just like in the UmbracoModule, if this is true then the user's culture will be assigned to the request. /// /// /// Returns the current back office identity if an admin is authenticated otherwise null diff --git a/src/Umbraco.Web/NotificationServiceExtensions.cs b/src/Umbraco.Web/NotificationServiceExtensions.cs index 9e10531b78..7beff605f9 100644 --- a/src/Umbraco.Web/NotificationServiceExtensions.cs +++ b/src/Umbraco.Web/NotificationServiceExtensions.cs @@ -50,7 +50,7 @@ namespace Umbraco.Web //if there is no current user, then use the admin if (user == null) { - LogHelper.Warn(typeof(NotificationServiceExtensions), "There is no current Umbraco user logged in, the notifications will be sent from the administrator"); + LogHelper.Debug(typeof(NotificationServiceExtensions), "There is no current Umbraco user logged in, the notifications will be sent from the administrator"); user = applicationContext.Services.UserService.GetUserById(0); if (user == null) { diff --git a/src/Umbraco.Web/Security/WebSecurity.cs b/src/Umbraco.Web/Security/WebSecurity.cs index d8d9c163ac..5239207316 100644 --- a/src/Umbraco.Web/Security/WebSecurity.cs +++ b/src/Umbraco.Web/Security/WebSecurity.cs @@ -286,7 +286,7 @@ namespace Umbraco.Web.Security /// public int GetUserId() { - var identity = _httpContext.GetCurrentIdentity(true); + var identity = _httpContext.GetCurrentIdentity(false); if (identity == null) return -1; return Convert.ToInt32(identity.Id); @@ -298,7 +298,7 @@ namespace Umbraco.Web.Security /// public string GetSessionId() { - var identity = _httpContext.GetCurrentIdentity(true); + var identity = _httpContext.GetCurrentIdentity(false); if (identity == null) return null; return identity.SessionId;