def _scrub_request(http_request):
 if (http_request and http_request.uri and http_request.uri.path and http_request.uri.path.endswith('ClientLogin')):
  http_request._body_parts = []
  http_request.add_form_inputs({'form_data': 'client login request has been scrubbed'})
 else:
  http_request._body_parts = []
 return http_request

def _scrub_request ( http_request ) : if ( http_request and http_request . uri and http_request . uri . path and http_request . uri . path . endswith ( 'ClientLogin' ) ) : http_request . _body_parts = [ ] http_request . add_form_inputs ( { 'form_data' : 'client login request has been scrubbed' } ) else : http_request . _body_parts = [ ] return http_request
removes email address and password from a client login request .