summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/user.go')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index 4a3b52417..9712d2ef1 100644
--- a/api/user.go
+++ b/api/user.go
@@ -729,7 +729,7 @@ func updateActive(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- if ruser, err := c.App.UpdateActiveNoLdap(userId, active); err != nil {
+ if ruser, err := c.App.UpdateNonSSOUserActive(userId, active); err != nil {
c.Err = err
} else {
c.LogAuditWithUserId(ruser.Id, fmt.Sprintf("active=%v", active))