mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
#18376: Removing conflicting property in UserCreateViewModel
Work Item: 18376 --HG-- branch : 1.x
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -16,7 +16,5 @@ namespace Orchard.Users.ViewModels {
|
||||
|
||||
[Required, DataType(DataType.Password)]
|
||||
public string ConfirmPassword { get; set; }
|
||||
|
||||
public IContent User { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user