mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-09-09 10:13:58 +08:00
添加重置密码缺失字段
This commit is contained in:
@@ -120,7 +120,8 @@ type StatsMem struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PasswordReset struct {
|
type PasswordReset struct {
|
||||||
Token string `json:"token" xorm:"varchar(60) not null unique"`
|
Token string `json:"token" xorm:"varchar(60) not null unique"`
|
||||||
UserId int `json:"id" xorm:"not null"`
|
UserId int `json:"id" xorm:"not null"`
|
||||||
ExpiresAt int `json:"expires_at" xorm:"not null"`
|
ExpiresAt int `json:"expires_at" xorm:"not null"`
|
||||||
|
LastRequestTime int `json:"last_request_time" xorm:"int default 0"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user