pycontribs / python-crowd

A python client to the Atlassian Crowd REST API. ❗️seeking-new-maintainer
https://github.com/pycontribs/python-crowd
BSD 2-Clause "Simplified" License
45 stars 41 forks source link

params variable is defined incorrectly on line 284 #42

Closed mobile09 closed 5 years ago

mobile09 commented 7 years ago

The params variable is defined incorrectly here:

https://github.com/pycontribs/python-crowd/blob/master/crowd.py#L284

currently: params["validation-factors"]["validationFactors"].append({"name": "X-Forwarded-For", "value": proxy, })

//

It should be:

params["validationFactors"].append({"name": "X-Forwarded-For", "value": proxy, })

aelse commented 5 years ago

Thanks for the report, and @maiko for the patch.