#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:
Nathan Heskew
2011-02-03 14:38:42 -08:00
parent 4d4c362d31
commit 030dd9331e

View File

@@ -62,6 +62,7 @@ namespace Orchard.Setup.Controllers {
}
if (!ModelState.IsValid) {
model.DatabaseIsPreconfigured = !string.IsNullOrEmpty(_setupService.Prime().DataProvider);
return IndexViewResult(model);
}