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

Switch back to sha1 as key #169

Merged
merged 1 commit into from
May 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions gitea/user_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down