Validate main PHP sessions against user IDs
Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ package loginmodel
|
||||
type AuthKey struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
AuthorizeToken string `xorm:"authorize_token"`
|
||||
UserID int `xorm:"user_id index"`
|
||||
ClientToken string `xorm:"client_token"`
|
||||
ServerToken string `xorm:"server_token"`
|
||||
InsertDate string `xorm:"insert_date"`
|
||||
|
||||
Reference in New Issue
Block a user