From b0261cf6c6298f472cfca8ae75e6d01ed39b421e Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 3 Jul 2022 14:49:37 -0700 Subject: security issue --- route/routes/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'route/routes/admin.go') diff --git a/route/routes/admin.go b/route/routes/admin.go index 81b9946..0b05fbf 100644 --- a/route/routes/admin.go +++ b/route/routes/admin.go @@ -50,7 +50,7 @@ func AdminVerify(ctx *fiber.Ctx) error { body := string(rBody) if resp.StatusCode != 200 { - return ctx.Redirect("/"+config.Key, http.StatusPermanentRedirect) + return ctx.Redirect("/", http.StatusPermanentRedirect) } ctx.Cookie(&fiber.Cookie{ -- cgit v1.2.3