修改gitea第三方登录包含官方及我自部署请求token问题
This commit is contained in:
parent
d1f3eb8696
commit
c076bf3538
|
|
@ -545,7 +545,6 @@ func GetGiteaAccessTokenByCode(baseUrl, code string, redirectURI string, clientI
|
|||
return resp, err2
|
||||
}
|
||||
err = json.Unmarshal(respBytes, &resp)
|
||||
log.Println("gitea response:", string(respBytes))
|
||||
if err != nil {
|
||||
log.Println("gitea response decode err:", err, " response content:", string(respBytes))
|
||||
return resp, err
|
||||
|
|
|
|||
Loading…
Reference in New Issue