fix(register): include username when creating user#7830
fix(register): include username when creating user#7830shivaansh0610-LUFFY wants to merge 3 commits intoplone:mainfrom
Conversation
|
@shivaansh0610-LUFFY you need to sign the Plone Contributor Agreement to merge this pull request. Learn about the Plone Contributor Agreement: https://plone.org/foundation/contributors-agreement If you have already signed the agreement, please allow a week for your agreement to be processed. If after a week you have not received an invitation, then please contact agreements@plone.org. |
|
@shivaansh0610-LUFFY you need to sign the Plone Contributor Agreement to merge this pull request. Learn about the Plone Contributor Agreement: https://plone.org/foundation/contributors-agreement If you have already signed the agreement, please allow a week for your agreement to be processed. If after a week you have not received an invitation, then please contact agreements@plone.org. |
|
CLA has been signed and processed. |
What this does
The registration form did not include the required
usernamefieldWhen creating a user, which caused the backend to reject the request.
This change adds
username(derived from the email) to the payloadsent to the
createUseraction.Why this is needed
plone.restapirequires ausernamewhen creating users.Without it, registration fails with a validation error.
How to test
Contributes to #6987