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