Fix: various bug fix
This commit is contained in:
@@ -24,6 +24,7 @@ func (self *Handlers) PostLogout(
|
||||
}
|
||||
|
||||
_, err := self.db.NewUpdate().
|
||||
Model((*models.User)(nil)).
|
||||
Set("is_logged = ?", false).
|
||||
Where("username = ?", user.Username).
|
||||
Exec(ctx)
|
||||
|
||||
Reference in New Issue
Block a user