Skip to content

Commit

Permalink
drop_permissions set back to false
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Apr 17, 2023
1 parent 0bf5eeb commit 23a1044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/app/core/oath.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func encode(req OauthTokenRequest) *bytes.Buffer {

func doExchange(ctx context.Context, in OauthTokenResponse, url string) (OauthTokenResponse, error) {
res := in
req := ExchangeRequest{true, in.AccessToken}
req := ExchangeRequest{false, in.AccessToken}
data, _ := json.Marshal(req)
body := bytes.NewBuffer(data)
request, _ := http.NewRequestWithContext(ctx, "POST", url, body)
Expand Down

0 comments on commit 23a1044

Please sign in to comment.