mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
Add user's Affiliation and IsAdmin.
This commit is contained in:
@ -31,6 +31,8 @@ type User struct {
|
||||
Avatar string `xorm:"varchar(100)" json:"avatar"`
|
||||
Email string `xorm:"varchar(100)" json:"email"`
|
||||
Phone string `xorm:"varchar(100)" json:"phone"`
|
||||
Affiliation string `xorm:"varchar(100)" json:"affiliation"`
|
||||
IsAdmin bool `json:"isAdmin"`
|
||||
|
||||
Github string `xorm:"varchar(100)" json:"github"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user