Browse Source

hid password in log

pull/128/head
Sébastien BEAU 9 years ago
committed by MonsieurB
parent
commit
4cdf9d41a1
  1. 1
      smsclient_ovh/sms_gateway.py

1
smsclient_ovh/sms_gateway.py

@ -84,6 +84,7 @@ class SmsSms(models.Model):
self.ensure_one()
params = self._prepare_http_ovh().items()
r = requests.get(self.gateway_id.url, params=params)
params['password'] = '*****'
_logger.debug("Call OVH API : %s params %s",
self.gateway_id.url, params)
response = r.text

Loading…
Cancel
Save