#18376: Removing conflicting property in UserCreateViewModel

Work Item: 18376

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-01-25 16:16:33 -08:00
parent aa51d69c6c
commit b26199832c
2 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ using Orchard.ContentManagement.Drivers;
using Orchard.Users.Models;
namespace Orchard.Users.Drivers {
/// <summary>
/// This class intentionnaly has no Display method to prevent external access to this information through standard
/// Content Item display methods.
/// </summary>
public class UserPartDriver : ContentPartDriver<UserPart> {
protected override void Importing(UserPart part, ContentManagement.Handlers.ImportContentContext context) {

View File

@@ -16,7 +16,5 @@ namespace Orchard.Users.ViewModels {
[Required, DataType(DataType.Password)]
public string ConfirmPassword { get; set; }
public IContent User { get; set; }
}
}