System Information
- 3.5:
- WIN 10:
- Postgress:
- Node 14:
Hello everyone, I have the following problem.
I have an application to register new clients (users). and I need to create their new account for them (so they can login).
The registration of new users is done by an existing user with the Seller role.
So I need you in addition to the username, password, and email. add other fields, example: name, surname, address and make the relationship with the current user (the one who is performing the operation with the role seller)
Currently I divide this operation into 2 steps and it is as follows …
1 I make an http GET request that registers the new user.
2 Once I get the answer I update the values of the other fields, example: name, surname, address and make the relationship with the current user with PUT
Works. but I am looking for a way to optimize and for strapi to receive the data and do it internally and avoid the errors that the frontend can make …