diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-04-04 14:58:05 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-04-04 14:58:05 -0400 |
commit | a9458480d5615f233e1665081eb11a45974ba774 (patch) | |
tree | 6c16ea8509dd8eb69da4847bca4d4faecbe9cd1e /api/web_socket.go | |
parent | a309031d9af9907e2b7a78116bc84133939ed4f8 (diff) | |
download | chat-a9458480d5615f233e1665081eb11a45974ba774.tar.gz chat-a9458480d5615f233e1665081eb11a45974ba774.tar.bz2 chat-a9458480d5615f233e1665081eb11a45974ba774.zip |
Minor fix for expired sessions
Diffstat (limited to 'api/web_socket.go')
-rw-r--r-- | api/web_socket.go | 2 |
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() } |