I want to set a password when a user is created. I have a frontend that I want to connect with Frappe, where the user details should be stored. When users add a password in the frontend, I want it to be used as their credentials for logging in. can anyone help how to set password with frappe rest api
You can do something like:
curl --location --request PUT 'http://development.localhost/api/resource/User/emailaccount@domain.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"new_password": "My new password"
}'