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
|
var user = new User
|
||||||
{
|
{
|
||||||
SiteId = site.SiteId,
|
SiteId = site.SiteId,
|
||||||
Username = GetInstallationConfig(SettingKeys.HostUserKey, Constants.HostUser),
|
Username = Constants.HostUser,
|
||||||
Password = password,
|
Password = password,
|
||||||
Email = email,
|
Email = email,
|
||||||
DisplayName = GetInstallationConfig(SettingKeys.HostUserKey, Constants.HostUser),
|
DisplayName = Constants.HostUser,
|
||||||
};
|
};
|
||||||
CreateHostUser(folders, userRoles, roles, users, identityUserManager, user);
|
CreateHostUser(folders, userRoles, roles, users, identityUserManager, user);
|
||||||
tenant.IsInitialized = true;
|
tenant.IsInitialized = true;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"DefaultConnection": ""
|
"DefaultConnection": ""
|
||||||
},
|
},
|
||||||
|
"Runtime" : "Server",
|
||||||
"Installation": {
|
"Installation": {
|
||||||
"DefaultAlias": "",
|
"DefaultAlias": "",
|
||||||
"HostUser": "",
|
|
||||||
"HostPassword": "",
|
"HostPassword": "",
|
||||||
"HostEmail": "",
|
"HostEmail": "",
|
||||||
"SiteTemplate": "",
|
"SiteTemplate": "",
|
||||||
|
Reference in New Issue
Block a user