outposts: rewrite state logic, use cache to expire old channels, support multiple instances
This commit is contained in:
@ -18,6 +18,7 @@ class AuthJsonConsumer(JsonWebsocketConsumer):
|
||||
if b"authorization" not in headers:
|
||||
LOGGER.warning("WS Request without authorization header")
|
||||
self.close()
|
||||
return False
|
||||
|
||||
token = headers[b"authorization"]
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user