mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 02:44:52 +08:00
#17211 // Setting the database preconfiguration state on a failed setup POST
...so the tenant setup process doesn't include the database-related fields when there's nothing they can do with them. work item: 17211 --HG-- branch : dev
This commit is contained in:
@@ -62,6 +62,7 @@ namespace Orchard.Setup.Controllers {
|
||||
}
|
||||
|
||||
if (!ModelState.IsValid) {
|
||||
model.DatabaseIsPreconfigured = !string.IsNullOrEmpty(_setupService.Prime().DataProvider);
|
||||
return IndexViewResult(model);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user