From 1d2c6692d1d6ad64751456324b070496c6b64d7c Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 10 Mar 2024 12:42:34 +0100 Subject: [PATCH] Fixes #799 --- server/http_server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/http_server.ts b/server/http_server.ts index bb08bcd5..f33c0942 100644 --- a/server/http_server.ts +++ b/server/http_server.ts @@ -337,7 +337,7 @@ export class HttpServer { this.app.use("*", async (c, next) => { const req = c.req; const spaceServer = await this.ensureSpaceServer(req); - if (!spaceServer.auth) { + if (!spaceServer.auth && !spaceServer.authToken) { // Auth disabled in this config, skip return next(); }