Merge pull request from GHSA-h8wc-r4jh-mg7m
* Don't login after install * Fail the install if database is not created --------- Co-authored-by: Zeegaan <nge@umbraco.dk> Co-authored-by: Nikolaj <nikolajlauridsen@protonmail.ch>
This commit is contained in:
committed by
nikolajlauridsen
parent
2a601ae0d0
commit
20a4e475c8
@@ -212,7 +212,7 @@ public class RuntimeState : IRuntimeState
|
||||
if (_globalSettings.Value.InstallMissingDatabase || _databaseProviderMetadata.CanForceCreateDatabase(_databaseFactory))
|
||||
{
|
||||
// ok to install on a configured but missing database
|
||||
Level = RuntimeLevel.Install;
|
||||
Level = RuntimeLevel.BootFailed;
|
||||
Reason = RuntimeLevelReason.InstallMissingDatabase;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user