mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Merge pull request #9486 from overleaf/jel-saml-log
[web] Only log email and/or SAML response from body GitOrigin-RevId: 6942b87a3e9164e7f330955e3929c05865ce56fe
This commit is contained in:
@@ -42,7 +42,9 @@ function log(req, data, samlAssertion) {
|
||||
}
|
||||
|
||||
if (data.error || samlAssertion) {
|
||||
data.body = req.body
|
||||
data.body = {}
|
||||
if (req.body.email) data.body.email = req.body.email
|
||||
if (req.body.SAMLResponse) data.body.SAMLResponse = req.body.SAMLResponse
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user