Merge pull request #422 from arnottcr/strip-all-tokens
strip all tokens
This commit is contained in:
commit
01ef8162a8
@ -57,7 +57,7 @@ func validateToken(p Provider, access_token string, header http.Header) bool {
|
|||||||
}
|
}
|
||||||
resp, err := api.RequestUnparsedResponse(endpoint, header)
|
resp, err := api.RequestUnparsedResponse(endpoint, header)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("GET %s", endpoint)
|
log.Printf("GET %s", stripToken(endpoint))
|
||||||
log.Printf("token validation request failed: %s", err)
|
log.Printf("token validation request failed: %s", err)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user