mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-19 02:01:02 +02:00
Auth token not mandatory, can be provided in env var
This commit is contained in:
parent
07580a788b
commit
94df3522a1
3 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ class SocketEndpoint:
|
|||
try:
|
||||
token = request.query['token']
|
||||
except:
|
||||
return web.HTTPUnauthorized()
|
||||
token = ""
|
||||
|
||||
if not self.auth.permitted(token, self.operation):
|
||||
return web.HTTPUnauthorized()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue