Question

Now in the prestashop administrative panel, you could leave the password area blank, and the password don’t change.

But with webservice I got problems because, if I send the empty string or a null the password changes anyway... :/
And I can't leave the password tag out, because is required.

The data I send:

{'prestashop':{
    'employee':{
        'id':'1',
        'id_lang':'1',
        'email':'test@test.te',
        'lastname':'Tset',
        'firstname':'Test',

        'passwd':null,

        'active':'1',
        'id_profile':'2',
        'bo_color':null,
        'default_tab':'1'
    }
}}

If anyone could help, please :)

Was it helpful?

Solution

One solution is to send same password again. Web service is weird in many cases, but I still love it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top