summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <ZJvandeWeg@users.noreply.github.com>2016-12-16 14:10:11 +0100
committerGeorge Goldberg <george@gberg.me>2016-12-16 13:10:11 +0000
commitf4450c4bbcc2a734d2525d94347c606d5781f0f8 (patch)
treea328c4d427a2217caa0c7bfeb37776bed15ad665 /api/context.go
parentba2c9f975ebd4747b8b282f395425207aaa1fdb4 (diff)
downloadchat-f4450c4bbcc2a734d2525d94347c606d5781f0f8.tar.gz
chat-f4450c4bbcc2a734d2525d94347c606d5781f0f8.tar.bz2
chat-f4450c4bbcc2a734d2525d94347c606d5781f0f8.zip
Fix typo (#4814)
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 91f17dada..07b6f5005 100644
--- a/api/context.go
+++ b/api/context.go
@@ -140,7 +140,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if (h.requireSystemAdmin || h.requireUser) && !h.trustRequester {
if r.Header.Get(model.HEADER_REQUESTED_WITH) != model.HEADER_REQUESTED_WITH_XML {
- c.Err = model.NewLocAppError("ServeHTTP", "api.context.session_expired.app_error", nil, "token="+token+" Appears to bea CSRF attempt")
+ c.Err = model.NewLocAppError("ServeHTTP", "api.context.session_expired.app_error", nil, "token="+token+" Appears to be a CSRF attempt")
token = ""
}
}