diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index 3c3ff95f8e133..0758e48197a6b 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -100,6 +100,11 @@ class ExceptionSerializer { // Preview providers, don't log big data strings 'imagecreatefromstring', + + // Sharepoint, only up to NC24 + 'acquireSecurityToken', + 'acquireToken', + 'acquireTokenForUser', ]; /** @var SystemConfig */