You are not logged in.
Pages: 1
Hello everyone
I'm using post request with this URL to add a user : glpi server/apirest.php/user/
{"input":{"name":"x","realname": "x", "firstname": "x" ,"password":"123" }}
And it works fine the user is added, but I can't log in with this user cause apparently the password is not set up. So I think I have a problem in my JSON I hope someone has and idea about this appreciate any help
Offline
https:// forum.glpi-project.org/viewtopic.php?id=170219
https:// forum.glpi-project.org/viewtopic.php?id=158012
Password with the encoding sha1?
Offline
Actually it was my fault I didn't encode the password to sha1 before sending the request thank you
But my problem now is when I add a user I set him to the default profile, what field to add to set the user to a specific profile.
Thanks in advance
Offline
https:// github.com/glpi-project/glpi/blob/9.5/bugfixes/apirest.md#change-active-profile
Offline
Pages: 1