Removes the assignment of the DefaultPermissions property since this is auto assigned in the ctor (and should be assignable)

This commit is contained in:
Shannon
2015-03-03 19:40:37 +11:00
parent 834b780d8e
commit 9a042fbbdf
3 changed files with 2 additions and 5 deletions

View File

@@ -222,7 +222,6 @@ namespace Umbraco.Web.Security
Language = GlobalSettings.DefaultUILanguage,
Name = membershipUser.UserName,
RawPasswordValue = Guid.NewGuid().ToString("N"), //Need to set this to something - will not be used though
DefaultPermissions = writer.Permissions,
Username = membershipUser.UserName,
StartContentId = -1,
StartMediaId = -1,