mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 10:13:42 -05: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:
parent
e3a51ee385
commit
d78d6b02bf
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ function log(req, data, samlAssertion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.error || 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 {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue