From 6af9371011da3d690e476852e6acba39ddb98c02 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sat, 8 Apr 2023 01:34:36 +0200 Subject: [PATCH] Docs: The WOODPECKER_ADMIN environment variable is singular. (#1699) --- server/model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/model/user.go b/server/model/user.go index 5cf21c768..0e5fa54d5 100644 --- a/server/model/user.go +++ b/server/model/user.go @@ -58,7 +58,7 @@ type User struct { // Admin indicates the user is a system administrator. // - // NOTE: If the username is part of the WOODPECKER_ADMINS + // NOTE: If the username is part of the WOODPECKER_ADMIN // environment variable this value will be set to true on login. Admin bool `json:"admin,omitempty" xorm:"user_admin"`