HostUser change is not allowed in silent install
This commit is contained in:
parent
209f6db0fb
commit
69ceb5dd42
@ -348,10 +348,10 @@ namespace Oqtane.Infrastructure
|
||||
var user = new User
|
||||
{
|
||||
SiteId = site.SiteId,
|
||||
Username = GetInstallationConfig(SettingKeys.HostUserKey, Constants.HostUser),
|
||||
Username = Constants.HostUser,
|
||||
Password = password,
|
||||
Email = email,
|
||||
DisplayName = GetInstallationConfig(SettingKeys.HostUserKey, Constants.HostUser),
|
||||
DisplayName = Constants.HostUser,
|
||||
};
|
||||
CreateHostUser(folders, userRoles, roles, users, identityUserManager, user);
|
||||
tenant.IsInitialized = true;
|
||||
|
@ -2,9 +2,9 @@
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": ""
|
||||
},
|
||||
"Runtime" : "Server",
|
||||
"Installation": {
|
||||
"DefaultAlias": "",
|
||||
"HostUser": "",
|
||||
"HostPassword": "",
|
||||
"HostEmail": "",
|
||||
"SiteTemplate": "",
|
||||
|
Reference in New Issue
Block a user