From b35e7805d25d3bb97556005cbc1541de15b7ab76 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Sat, 27 May 2023 18:25:12 +0800 Subject: [PATCH] why use val in the log midou --- pages/signup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/signup.go b/pages/signup.go index 4cb758c..1ed5f4b 100644 --- a/pages/signup.go +++ b/pages/signup.go @@ -28,7 +28,7 @@ func SignupPage(c *fiber.Ctx) error { } raid, ok := os.LookupEnv("PUBLAPI_RAID_MODE") if !ok || raid == "1" { - log.Error("PUBLAPI_RAID_MODE is ", val, " accepting every request as OK and not doing anything...\n User info: ", username, email, ip) + log.Error("PUBLAPI_RAID_MODE is on accepting every request as OK and not doing anything...\n User info: ", username, email, ip) return c.SendStatus(fiber.StatusOK) }