Merge pull request #416 from chlupac/SiteInstall

Get custom theme and layout on a default install
This commit is contained in:
Shaun Walker
2020-04-28 09:02:55 -04:00
committed by GitHub
3 changed files with 2 additions and 24 deletions

View File

@ -44,6 +44,7 @@ namespace Oqtane.Controllers
_config.Reload();
}
_databaseManager.BuildDefaultSite(config.Password, config.HostEmail);
installation.Success = true;
return installation;
}

View File

@ -315,7 +315,7 @@ namespace Oqtane.Infrastructure
}
}
private void BuildDefaultSite(string password, string email)
public void BuildDefaultSite(string password, string email)
{
using (var scope = _serviceScopeFactory.CreateScope())
{