fix missing connect-flash again #6028

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-04-15 14:51:18 +01:00
parent 30d570f28b
commit 1dca9e2235
1 changed files with 1 additions and 0 deletions

View File

@ -4042,6 +4042,7 @@ function mainStart() {
|| ((Math.floor(nodeVersion) == 14) && (nodeVersion >= 14.15))
|| ((Math.floor(nodeVersion) == 12) && (nodeVersion >= 12.19))) {
passport.push('openid-client');
passport.push('connect-flash');
} else {
addServerWarning('This NodeJS version does not support OpenID Connect on MeshCentral.', 25);
delete config.domains[i].authstrategies.oidc;