diff --git a/Oqtane.Client/Modules/Admin/Sites/Add.razor b/Oqtane.Client/Modules/Admin/Sites/Add.razor
index 47f19b04..459e5143 100644
--- a/Oqtane.Client/Modules/Admin/Sites/Add.razor
+++ b/Oqtane.Client/Modules/Admin/Sites/Add.razor
@@ -118,42 +118,42 @@ else
@if (_databases != null)
- {
-
-
- @if (!_showConnectionString)
- {
-
- }
- else
- {
-
- }
-
- }
-
+ {
+
+
+ @if (!_showConnectionString)
+ {
+
+ }
+ else
+ {
+
+ }
+
+ }
+
- @if (!_showConnectionString)
- {
- if (_databaseConfigType != null)
- {
- @DatabaseConfigComponent
- }
- }
- else
- {
-
- }
+ @if (!_showConnectionString)
+ {
+ if (_databaseConfigType != null)
+ {
+ @DatabaseConfigComponent
+ }
+ }
+ else
+ {
+
+ }
@@ -390,6 +390,8 @@ else
config.DatabaseType = tenant.DBType;
config.ConnectionString = tenant.DBConnectionString;
config.IsNewTenant = false;
+ config.HostEmail = PageState.User.Email;
+ config.HostName = PageState.User.DisplayName;
}
}
@@ -403,6 +405,7 @@ else
config.SiteTemplate = _sitetemplatetype;
config.RenderMode = _rendermode;
config.Runtime = _runtime;
+ config.Register = false;
ShowProgressIndicator();