Fixing modify user page and it's title

This commit is contained in:
lepipele
2018-04-19 11:44:24 -05:00
parent 8075273ec8
commit cd1a4c4749
3 changed files with 5 additions and 4 deletions

View File

@@ -132,6 +132,7 @@ namespace BTCPayServer.Controllers
var roles = await _UserManager.GetRolesAsync(user);
var userVM = new UserViewModel();
userVM.Id = user.Id;
userVM.Email = user.Email;
userVM.IsAdmin = IsAdmin(roles);
return View(userVM);
}