Finish upgrade to Preview9

This commit is contained in:
Shaun Walker
2019-09-15 18:36:39 -04:00
parent add3728a84
commit 61dc27cf32
38 changed files with 77 additions and 39 deletions

View File

@ -107,12 +107,11 @@ namespace Oqtane.Controllers
if (ModelState.IsValid)
{
bool installed = true;
if (!Users.GetUsers().Any())
{
installed = false; // during initial installation we need to be able to create the host user
}
//bool installed = true;
//if (!Users.GetUsers().Any())
//{
// installed = false; // during initial installation we need to be able to create the host user
//}
IdentityUser identityuser = await IdentityUserManager.FindByNameAsync(User.Username);
if (identityuser == null)
{