support setting user disabled

This commit is contained in:
MaysWind
2023-06-21 23:57:04 +08:00
parent a03bac5d74
commit f39e20d7a7
8 changed files with 155 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ type User struct {
ShortDateFormat ShortDateFormat `xorm:"TINYINT"`
LongTimeFormat LongTimeFormat `xorm:"TINYINT"`
ShortTimeFormat ShortTimeFormat `xorm:"TINYINT"`
Disabled bool `xorm:"NOT NULL"`
Deleted bool `xorm:"NOT NULL"`
EmailVerified bool `xorm:"NOT NULL"`
CreatedUnixTime int64