Renamed SAML setting privateCert -> privateKey

Required by `passport-saml` update to 3.x
This commit is contained in:
Miguel Serrano 2021-07-09 16:52:26 +02:00 committed by GitHub
parent a8ca0a896f
commit adf3420c91

View file

@ -680,7 +680,7 @@ if (process.env.SHARELATEX_SAML_ENTRYPOINT) {
// https://github.com/node-saml/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102 // https://github.com/node-saml/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102
if (process.env.SHARELATEX_SAML_CERT) { if (process.env.SHARELATEX_SAML_CERT) {
settings.saml.server.cert = process.env.SHARELATEX_SAML_CERT settings.saml.server.cert = process.env.SHARELATEX_SAML_CERT
settings.saml.server.privateCert = process.env.SHARELATEX_SAML_PRIVATE_CERT settings.saml.server.privateKey = process.env.SHARELATEX_SAML_PRIVATE_CERT
} }
} }