From d8e041a5a22955ccc5b58d2cbb4d83b080d84e95 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 10 Jan 2019 10:46:58 +0100 Subject: [PATCH 1/2] Don't log parameters on user creation in case of error/exception Signed-off-by: Joas Schilling --- lib/private/Log/ExceptionSerializer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index 768c648496..d291275ee9 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -37,6 +37,9 @@ class ExceptionSerializer { '{closure}', 'createSessionToken', + // Provisioning + 'addUser', + // TokenProvider 'getToken', 'isTokenPassword', From 926250788189bcb7f9c697a00a22f86983510e75 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 10 Jan 2019 10:49:09 +0100 Subject: [PATCH 2/2] Fix doc block Signed-off-by: Joas Schilling --- apps/provisioning_api/lib/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 27d66a83c8..67fa32c6fb 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -205,7 +205,7 @@ class UsersController extends AUserData { * @param string $displayName * @param string $email * @param array $groups - * @param array $subadmins + * @param array $subadmin * @param string $quota * @param string $language * @return DataResponse