This commit is contained in:
committed by
GitHub
parent
99152ffef3
commit
0a79e28205
@@ -23,7 +23,7 @@ namespace Umbraco.Web.Security
|
||||
string[] defaultUserGroups = null,
|
||||
string defaultCulture = null)
|
||||
{
|
||||
_defaultUserGroups = defaultUserGroups ?? new[] { "editor" };
|
||||
_defaultUserGroups = defaultUserGroups ?? new[] { Constants.Security.EditorGroupAlias };
|
||||
_autoLinkExternalAccount = autoLinkExternalAccount;
|
||||
_defaultCulture = defaultCulture ?? Current.Configs.Global().DefaultUILanguage;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Umbraco.Web.Security.Providers
|
||||
}
|
||||
|
||||
private readonly IMemberTypeService _memberTypeService;
|
||||
private string _defaultMemberTypeAlias = "writer";
|
||||
private string _defaultMemberTypeAlias = Constants.Security.WriterGroupAlias;
|
||||
private volatile bool _hasDefaultMember = false;
|
||||
private static readonly object Locker = new object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user