diff options
Diffstat (limited to 'api/oauth.go')
-rw-r--r-- | api/oauth.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/oauth.go b/api/oauth.go index 18a9979f6..233ae0879 100644 --- a/api/oauth.go +++ b/api/oauth.go @@ -102,6 +102,7 @@ func getOAuthApps(c *Context, w http.ResponseWriter, r *http.Request) { if HasPermissionToContext(c, model.PERMISSION_MANAGE_SYSTEM_WIDE_OAUTH) { ochan = Srv.Store.OAuth().GetApps() } else { + c.Err = nil ochan = Srv.Store.OAuth().GetAppByUser(c.Session.UserId) } |