Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 9251bef

Browse files
techknowlogicklafriks
authored andcommitted
Switch back to sha1 as key (#169)
Fix git-as-svn/git-as-svn#244
1 parent 1423c9f commit 9251bef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gitea/user_app.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ func BasicAuthEncode(user, pass string) string {
2323
type AccessToken struct {
2424
ID int64 `json:"id"`
2525
Name string `json:"name"`
26-
Token string `json:"token"`
27-
HashedToken string `json:"hashed_token"`
26+
Token string `json:"sha1"`
2827
TokenLastEight string `json:"token_last_eight"`
2928
}
3029

0 commit comments

Comments
 (0)