Merge pull request #422 from arnottcr/strip-all-tokens

strip all tokens
This commit is contained in:
Jehiah Czebotar 2017-08-28 20:48:43 -04:00 committed by GitHub
commit 01ef8162a8

View File

@ -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
}