diff options
Diffstat (limited to 'api4/user.go')
-rw-r--r-- | api4/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/user.go b/api4/user.go index 7343ce326..16b7f79a9 100644 --- a/api4/user.go +++ b/api4/user.go @@ -683,7 +683,7 @@ func updateUserActive(c *Context, w http.ResponseWriter, r *http.Request) { return } - if ruser, err := c.App.UpdateActiveNoLdap(c.Params.UserId, active); err != nil { + if ruser, err := c.App.UpdateNonSSOUserActive(c.Params.UserId, active); err != nil { c.Err = err } else { c.LogAuditWithUserId(ruser.Id, fmt.Sprintf("active=%v", active)) |