mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-31 20:44:28 +00:00
Docs: The WOODPECKER_ADMIN environment variable is singular. (#1699)
This commit is contained in:
@@ -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"`
|
||||
|
||||
|
Reference in New Issue
Block a user