l'apostrophe dans le nom d'utilisateur
This commit is contained in:
parent
75fbf5a527
commit
d46900db41
3 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ namespace Yavsc.ViewModels.Account
|
|||
|
||||
[Display(ResourceType = typeof(Yavsc.Resources.YavscLocalisation), Name = "UserName")]
|
||||
[StringLength(102)]
|
||||
[YaRegularExpression(@"[a-zA-Z0-9 ._-]+", ErrorMessageResourceName="InvalidUserName", ErrorMessageResourceType = typeof(Yavsc.Resources.YavscLocalisation))]
|
||||
[YaRegularExpression(@"[a-zA-Z0-9 .'_-]+", ErrorMessageResourceName="InvalidUserName", ErrorMessageResourceType = typeof(Yavsc.Resources.YavscLocalisation))]
|
||||
public string UserName { get; set; }
|
||||
|
||||
[YaRequired()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue