* InputUserName.cs:
* WebControls.csproj: * Estimate.aspx: UserName input control * IValueProvider.cs: * TemplateException.cs: * ResultPages.cs: code cleanning * WorkFlowController.cs: Admin now can register new users * LocalizedText.resx: * LocalizedText.Designer.cs: new registration messages * RegisterModel.cs: The registration message contains the user validation decision
This commit is contained in:
parent
c943606b43
commit
cce43b9daf
10 changed files with 228 additions and 6 deletions
|
|
@ -25,6 +25,7 @@ using System.ComponentModel.DataAnnotations;
|
|||
|
||||
namespace Yavsc.Model.RolesAndMembers
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Register view model.
|
||||
/// </summary>
|
||||
|
|
@ -53,6 +54,13 @@ namespace Yavsc.Model.RolesAndMembers
|
|||
[DisplayName("Adresse e-mail")]
|
||||
[Required(ErrorMessage = "S'il vous plait, entrez un e-mail valide")]
|
||||
public string Email { get; set; }
|
||||
|
||||
public bool IsApprouved { get; set; }
|
||||
|
||||
public RegisterModel()
|
||||
{
|
||||
IsApprouved = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue