Merge "Added missing fields to user update payload"

This commit is contained in:
Zuul 2020-12-18 16:10:13 +00:00 committed by Gerrit Code Review
commit 41dbd8de94
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,9 @@ final class UserValidationRulesFactory
'email_verified' => 'nullable|boolean',
'active' => 'nullable|boolean',
'groups' => 'sometimes|int_array',
'public_profile_show_photo' => 'sometimes|boolean',
'public_profile_show_fullname' => 'sometimes|boolean',
'public_profile_show_email' => 'sometimes|boolean',
];
}
@ -93,6 +96,9 @@ final class UserValidationRulesFactory
'email_verified' => 'nullable|boolean',
'active' => 'nullable|boolean',
'groups' => 'sometimes|int_array',
'public_profile_show_photo' => 'sometimes|boolean',
'public_profile_show_fullname' => 'sometimes|boolean',
'public_profile_show_email' => 'sometimes|boolean',
];
}
}