Skip to content

Commit

Permalink
Merge pull request #1123 from traPtitech/fix/change_admin
Browse files Browse the repository at this point in the history
Update admin
  • Loading branch information
kaitoyama committed Oct 27, 2023
2 parents b3ff24d + e83c7a3 commit a28c7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a28c7a4

Please sign in to comment.