From 3e144f82e29e566b3cf1615c19b4ddc6dc7e4694 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 3 Oct 2017 14:16:33 -0400 Subject: Only update session activity on specific endpoints (#7549) --- api4/context.go | 1 - 1 file changed, 1 deletion(-) (limited to 'api4/context.go') diff --git a/api4/context.go b/api4/context.go index 9af15d72b..c526f38bb 100644 --- a/api4/context.go +++ b/api4/context.go @@ -157,7 +157,6 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { c.Err = model.NewAppError("ServeHTTP", "api.context.token_provided.app_error", nil, "token="+token, http.StatusUnauthorized) } else { c.Session = *session - c.App.UpdateLastActivityAtIfNeeded(*session) } } -- cgit v1.2.3-1-g7c22