agola/internal/gitsources
Simone Gotti a7ecfee795 gitea: use custom http request for get tokens
Since the get tokens gitea api is used to do auth by username password we need
to know the api status code to detect if it's an unauthorized error (wrong
username/password) or another error.

Since the gitea client doesn't return the http response to inspect the status
code we'll use our own api call.
2019-05-13 14:21:41 +02:00
..
agolagit gitsources: create secret and webhook secret 2019-05-07 18:29:31 +02:00
gitea gitea: use custom http request for get tokens 2019-05-13 14:21:41 +02:00
gitlab gitsources: create secret and webhook secret 2019-05-07 18:29:31 +02:00
gitsource.go gitea: use custom http request for get tokens 2019-05-13 14:21:41 +02:00