From e83c7a316f9c01f5e4cb53417faaf5e8f5f6be54 Mon Sep 17 00:00:00 2001 From: kaitoyama <45167401+kaitoyama@users.noreply.github.com> Date: Fri, 27 Oct 2023 16:17:50 +0900 Subject: [PATCH] Update admin --- router/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/middleware.go b/router/middleware.go index b638e536..c1ee10f5 100644 --- a/router/middleware.go +++ b/router/middleware.go @@ -49,7 +49,7 @@ func (*Middleware) SetValidatorMiddleware(next echo.HandlerFunc) echo.HandlerFun /* 消せないアンケートの発生を防ぐための管理者 暫定的にハードコーディングで対応*/ -var adminUserIDs = []string{"temma", "sappi_red", "ryoha", "mazrean", "xxarupakaxx", "asari"} +var adminUserIDs = []string{"ryoha", "xxarupakaxx", "kaitoyama", "cp20", "itzmeowww"} // SetUserIDMiddleware X-Showcase-UserからユーザーIDを取得しセットする func (*Middleware) SetUserIDMiddleware(next echo.HandlerFunc) echo.HandlerFunc {