a7ecfee795
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. |
||
---|---|---|
.. | ||
gitea.go | ||
parse.go | ||
types.go |