summaryrefslogtreecommitdiffstats
path: root/api/web_socket.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/web_socket.go')
-rw-r--r--api/web_socket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/web_socket.go b/api/web_socket.go
index 7590e6646..e15732f43 100644
--- a/api/web_socket.go
+++ b/api/web_socket.go
@@ -14,7 +14,7 @@ import (
func InitWebSocket(r *mux.Router) {
l4g.Debug(utils.T("api.web_socket.init.debug"))
- r.Handle("/websocket", ApiUserRequired(connect)).Methods("GET")
+ r.Handle("/websocket", ApiUserRequiredTrustRequester(connect)).Methods("GET")
hub.Start()
}