Reconfigure apps on dashboard domain change, if they use oidc addon
This commit is contained in:
@@ -2713,10 +2713,10 @@ async function restoreInstalledApps(options, auditSource) {
|
||||
}
|
||||
}
|
||||
|
||||
async function configureInstalledApps(auditSource) {
|
||||
async function configureInstalledApps(apps, auditSource) {
|
||||
assert(Array.isArray(apps));
|
||||
assert.strictEqual(typeof auditSource, 'object');
|
||||
|
||||
let apps = await list();
|
||||
apps = apps.filter(app => app.installationState !== exports.ISTATE_ERROR); // remove errored apps. let them be 'repaired' by hand
|
||||
apps = apps.filter(app => app.installationState !== exports.ISTATE_PENDING_CONFIGURE); // safeguard against tasks being created non-stop if we crash on startup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user