summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/user_app.go
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-05-10 16:49:29 -0400
committerGitHub <noreply@github.com>2019-05-10 16:49:29 -0400
commit1dc401635b8acb20f4222216ad0828ef39617989 (patch)
treeff7564a7d64885edb0038d34f0378c47ee301819 /vendor/code.gitea.io/sdk/gitea/user_app.go
parentd64a646c0a9c4ea1ca7f6213e4d353132cb735c1 (diff)
downloadgitea-1dc401635b8acb20f4222216ad0828ef39617989.tar.gz
gitea-1dc401635b8acb20f4222216ad0828ef39617989.zip
update sdk to latest (#6903)
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/user_app.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/user_app.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/user_app.go b/vendor/code.gitea.io/sdk/gitea/user_app.go
index 023837f83b..c5367be5cd 100644
--- a/vendor/code.gitea.io/sdk/gitea/user_app.go
+++ b/vendor/code.gitea.io/sdk/gitea/user_app.go
@@ -23,8 +23,7 @@ func BasicAuthEncode(user, pass string) string {
type AccessToken struct {
ID int64 `json:"id"`
Name string `json:"name"`
- Token string `json:"token"`
- HashedToken string `json:"hashed_token"`
+ Token string `json:"sha1"`
TokenLastEight string `json:"token_last_eight"`
}