Something went wrong while setting issue due date.
Manage password with the webservice
Closed
Manage password with the webservice
Descriptive title for this enhancement
Manage password with the webservice
Actual behavior
When we create an user we need to pass an array for the password
curl -X POST -H "SESSION-TOKEN: s89ul6bvjq6hvs08ntokhta8b4" "http://192.168.56.101/fusiondirectory/rest.php/v1/objects/user?base=ou=a,dc=nodomain" --data '{ "attrs": { "user": { "uid": "x", "userPassword": [ "","toto","toto","", false], "sn": "a", "givenName": "b" } } }' | jq .
Expected behavior
It would be more easy to just pass the password directly
Step by step description of new behaviour
- Login through the webservice
- Create an user with the webservice
Benefits
More easy to use
Possible Drawbacks
None