Merge pull request #13473 from nextcloud/bugfix/noid/dont-log-parameters-on-user-creation-in-case-of-error

Don't log parameters on user creation in case of error/exception
This commit is contained in:
Roeland Jago Douma 2019-01-10 12:36:28 +01:00 committed by GitHub
commit b8b650aee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class UsersController extends AUserData {
* @param string $displayName * @param string $displayName
* @param string $email * @param string $email
* @param array $groups * @param array $groups
* @param array $subadmins * @param array $subadmin
* @param string $quota * @param string $quota
* @param string $language * @param string $language
* @return DataResponse * @return DataResponse

View File

@ -37,6 +37,9 @@ class ExceptionSerializer {
'{closure}', '{closure}',
'createSessionToken', 'createSessionToken',
// Provisioning
'addUser',
// TokenProvider // TokenProvider
'getToken', 'getToken',
'isTokenPassword', 'isTokenPassword',