Update seamless-server/server.py
Browse files
seamless-server/server.py
CHANGED
@@ -68,11 +68,11 @@ async def connect(sid, environ):
|
|
68 |
client_id = query_params.get("clientID")
|
69 |
token = query_params.get("token")
|
70 |
|
71 |
-
if google_auth_check(token) is None:
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
|
77 |
logger.debug(f"query_params:\n{pformat(query_params)}")
|
78 |
|
|
|
68 |
client_id = query_params.get("clientID")
|
69 |
token = query_params.get("token")
|
70 |
|
71 |
+
# if google_auth_check(token) is None:
|
72 |
+
# await sio.emit("auth_error", "Not authenticated", to=sid)
|
73 |
+
# logger.info("Invalid auth token, Disconnecting...")
|
74 |
+
# await sio.disconnect(sid)
|
75 |
+
# return
|
76 |
|
77 |
logger.debug(f"query_params:\n{pformat(query_params)}")
|
78 |
|