Commit 656b4d91 authored by zheng liu's avatar zheng liu

Merged in dev (pull request #2)

fix: update
parents ad8a9148 b489dcba
......@@ -42,7 +42,7 @@ class BaseWebSocketHandler:
self.clients[request.sid]["forwarder"] = ProxyServer(self.app, self.clients[request.sid]["client"])
def get_current_user(self):
return User(id='61c39c1f5b5742688180b6dda235aadd', username="admin", name="admin")
return self.app.service.get_profile()
def check_origin(self, origin):
return True
......
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