strip all log statements with the endpoint var
This commit is contained in:
		
							parent
							
								
									3c51c914ac
								
							
						
					
					
						commit
						ba67e5c847
					
				|  | @ -57,7 +57,7 @@ func validateToken(p Provider, access_token string, header http.Header) bool { | |||
| 	} | ||||
| 	resp, err := api.RequestUnparsedResponse(endpoint, header) | ||||
| 	if err != nil { | ||||
| 		log.Printf("GET %s", endpoint) | ||||
| 		log.Printf("GET %s", stripToken(endpoint)) | ||||
| 		log.Printf("token validation request failed: %s", err) | ||||
| 		return false | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue