From dbaa9c13a0922478c0877ad5992591d010331e95 Mon Sep 17 00:00:00 2001 From: Chris Rice Date: Wed, 26 Jul 2023 14:26:44 -0700 Subject: [PATCH] Add auth to allowed commands while data is loading (cherry picked from commit 051605909e61bcc9251efaa350cb825436e06912) --- internal/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/server.go b/internal/server/server.go index 24a3866f..ae469ee9 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -946,7 +946,7 @@ func (s *Server) handleInputCommand(client *Client, msg *Message) error { if !s.loadedAndReady.Load() { switch msg.Command() { - case "output", "ping", "echo": + case "output", "ping", "echo", "auth": default: return writeErr("LOADING Tile38 is loading the dataset in memory") }