tolerate-auth-for-schema-inspect
All checks were successful
deploy / deploy (push) Successful in 1m5s
All checks were successful
deploy / deploy (push) Successful in 1m5s
This commit is contained in:
parent
315fe9fa49
commit
25b6a6f50a
|
@ -47,9 +47,6 @@ async def check_auth(req) -> str | None:
|
|||
# Handling and logging exceptions during authentication check
|
||||
print(f"[services.auth] {e}")
|
||||
|
||||
if not user_id:
|
||||
raise HTTPException(status_code=401,detail="Unauthorized")
|
||||
|
||||
|
||||
class LoginRequiredMiddleware(Extension):
|
||||
async def on_request_start(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user