diff options
Diffstat (limited to 'api/oauth.go')
-rw-r--r-- | api/oauth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/oauth.go b/api/oauth.go index 64848d0ce..47bedc20a 100644 --- a/api/oauth.go +++ b/api/oauth.go @@ -129,7 +129,7 @@ func allowOAuth(c *Context, w http.ResponseWriter, r *http.Request) { func RevokeAccessToken(T goi18n.TranslateFunc, token string) *model.AppError { - schan := Srv.Store.Session().Remove(token) + schan := Srv.Store.Session().Remove(T, token) sessionCache.Remove(token) var accessData *model.AccessData |