summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-29 00:13:58 -0700
committerCorey Hulen <corey@hulen.com>2015-10-29 00:13:58 -0700
commit64b617099db2b25555fe944ef6a0fe64dba2484d (patch)
treef31b3d2e2a6e987f327577bf609dd02f08a5db11 /api/context.go
parent8e43a99581ae0cedf48e0756e0846ed74addb965 (diff)
parent6f599604c995271f9bee4a04722296a317617f9a (diff)
downloadchat-64b617099db2b25555fe944ef6a0fe64dba2484d.tar.gz
chat-64b617099db2b25555fe944ef6a0fe64dba2484d.tar.bz2
chat-64b617099db2b25555fe944ef6a0fe64dba2484d.zip
Merge pull request #1226 from mattermost/bug-fix
Fixing 200 error bug
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go
index 9be3e85cc..a5d4169cb 100644
--- a/api/context.go
+++ b/api/context.go
@@ -320,7 +320,7 @@ func (c *Context) HasSystemAdminPermissions(where string) bool {
return true
}
- c.Err = model.NewAppError(where, "You do not have the appropriate permissions", "userId="+c.Session.UserId)
+ c.Err = model.NewAppError(where, "You do not have the appropriate permissions (system)", "userId="+c.Session.UserId)
c.Err.StatusCode = http.StatusForbidden
return false
}