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