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 2f8e72ad9..7343ce326 100644 --- a/api4/user.go +++ b/api4/user.go @@ -651,7 +651,7 @@ func updateUserRoles(c *Context, w http.ResponseWriter, r *http.Request) { return } - if _, err := c.App.UpdateUserRoles(c.Params.UserId, newRoles); err != nil { + if _, err := c.App.UpdateUserRoles(c.Params.UserId, newRoles, true); err != nil { c.Err = err return } else { |