mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-05 18:58:06 -05:00
fix missing connect-flash again #6028
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
30d570f28b
commit
1dca9e2235
@ -4042,6 +4042,7 @@ function mainStart() {
|
|||||||
|| ((Math.floor(nodeVersion) == 14) && (nodeVersion >= 14.15))
|
|| ((Math.floor(nodeVersion) == 14) && (nodeVersion >= 14.15))
|
||||||
|| ((Math.floor(nodeVersion) == 12) && (nodeVersion >= 12.19))) {
|
|| ((Math.floor(nodeVersion) == 12) && (nodeVersion >= 12.19))) {
|
||||||
passport.push('openid-client');
|
passport.push('openid-client');
|
||||||
|
passport.push('connect-flash');
|
||||||
} else {
|
} else {
|
||||||
addServerWarning('This NodeJS version does not support OpenID Connect on MeshCentral.', 25);
|
addServerWarning('This NodeJS version does not support OpenID Connect on MeshCentral.', 25);
|
||||||
delete config.domains[i].authstrategies.oidc;
|
delete config.domains[i].authstrategies.oidc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user