Closed mobile09 closed 5 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, })
Thanks for the report, and @maiko for the patch.
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, })