mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 13:02:52 +09:00
remove martini oauth2 depend
This commit is contained in:
@ -15,8 +15,8 @@ var (
|
||||
)
|
||||
|
||||
type Oauth2 struct {
|
||||
Id int64
|
||||
Uid int64 `xorm:"pk"` // userId
|
||||
Id int64 `xorm:"default 1"`
|
||||
Uid int64 `xorm:"pk"` // UserId
|
||||
User *User `xorm:"-"`
|
||||
Type int `xorm:"pk unique(oauth)"` // twitter,github,google...
|
||||
Identity string `xorm:"pk unique(oauth)"` // id..
|
||||
|
Reference in New Issue
Block a user