Browse Source

Fill email field

confirmation-email
Milad Karbasizadeh 11 years ago
parent
commit
157b59a0f4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Sevomin.WebFrontend.Controllers/AccountController.cs

+ 1
- 0
Sevomin.WebFrontend.Controllers/AccountController.cs View File

@ -51,6 +51,7 @@ namespace Sevomin.WebFrontend.Controllers
user.SignUpDate = DateTime.UtcNow;
}
user.DisplayName = model.DisplayName;
user.Email = model.Email;
var result = await UserManager.CreateAsync(user, model.Password);
if (result.Succeeded)
{


Loading…
Cancel
Save