dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46441
Re: Password not working when creating Users through API
Hi Harsh
Try with a valid password, something like `Harsh123`
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
On Thu, Aug 18, 2016 at 10:41 AM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:
> Dear Devs,
>
> We made several users by Posting to "../api/Users" endpooint.
> Eg payload-
>
> {"firstName":"harsh","surname":"harsh","email":"harsh",
> "userCredentials": {"username":"harsh","password"
> :"harsh","userRoles":[{"id":"yrB6vc5Ip3r"}]},
> "organisationUnits":[{"id":"WBFNadSm5EQ"}],"userGroups":[]}
>
> The users were created all right but the given password didn't work. So we
> had to change the password through application..
>
> Is there something we missed when creating user through API? Please help.
>
> DHIS2 version - 2.23
>
> Thank You
> harsh
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References