diff options
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/user.go b/api/user.go index 7919da168..140013f9a 100644 --- a/api/user.go +++ b/api/user.go @@ -1510,6 +1510,8 @@ func UpdateActive(c *Context, user *model.User, active bool) *model.User { RevokeAllSession(c, user.Id) } + <-Srv.Store.Channel().ExtraUpdateByUser(user.Id, model.GetMillis()) + ruser := result.Data.([2]*model.User)[0] options := utils.Cfg.GetSanitizeOptions() options["passwordupdate"] = false |