Skip to content

Commit

Permalink
fix missing connect-flash again #6028
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Apr 15, 2024
1 parent 30d570f commit 1dca9e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meshcentral.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1dca9e2

Please sign in to comment.