This commit is contained in:
Stephan
2017-09-23 10:08:18 +02:00
parent c1e2625de0
commit 5ba2ffcbf3
224 changed files with 709 additions and 709 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
@@ -22,7 +22,7 @@ namespace Umbraco.Web.Models.ContentEditing
[EmailAddress]
public string Email { get; set; }
[DataMember(Name = "username")]
[DataMember(Name = "username")]
public string Username { get; set; }
[DataMember(Name = "message")]
@@ -37,4 +37,4 @@ namespace Umbraco.Web.Models.ContentEditing
yield return new ValidationResult("A username cannot be empty", new[] { "Username" });
}
}
}
}