rcastriotta commited on
Commit
ba78468
·
verified ·
1 Parent(s): 355f96d

Update seamless-server/server.py

Browse files
Files changed (1) hide show
  1. seamless-server/server.py +5 -5
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
- 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
 
 
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