fix(core): Fix issues with LDAP reset and LDAP init (no-changelog) (#5657)

* fix(core): Ldap reset should recreate the default config

* fix(core): init ldap before registering the routes for it
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-09 16:24:44 +01:00
committed by GitHub
parent ce0d9d2bed
commit 1979eb8a9c
2 changed files with 8 additions and 3 deletions

View File

@@ -326,13 +326,13 @@ export class Start extends BaseCommand {
);
}
await handleLdapInit();
await Server.start();
// Start to get active workflows and run their triggers
await this.activeWorkflowRunner.init();
await handleLdapInit();
const editorUrl = GenericHelpers.getBaseUrl();
this.log(`\nEditor is now accessible via:\n${editorUrl}`);