Commit 6c46d1fd authored by Andrea Brancaleoni's avatar Andrea Brancaleoni

No Same-Origin Check

parent c5fefeb0
......@@ -196,6 +196,10 @@ class StatusHandler(tornado.websocket.WebSocketHandler):
"""Unregister this handler when the connection is closed."""
StatusHandler.CLIENTS.unregister(self)
LOG.debug('Unregistered client.')
def check_origin(self, origin):
"""No Same-Origin Policy"""
return True
class LoginPageHandler(BaseHandler):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment