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 36c03b11c8
commit ff0fc5756e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -680,7 +680,7 @@ if (process.env.SHARELATEX_SAML_ENTRYPOINT) {
// https://github.com/node-saml/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102
if (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
}
}