Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90e3b58

Browse files
committedSep 6, 2022
Add scope field to access token
1 parent f1ea6c9 commit 90e3b58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎models/auth/token.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ type AccessToken struct {
5959
TokenHash string `xorm:"UNIQUE"` // sha256 of token
6060
TokenSalt string
6161
TokenLastEight string `xorm:"token_last_eight"`
62+
Scope string
6263

6364
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
6465
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`

0 commit comments

Comments
 (0)
Please sign in to comment.