Add -
as reserved user
used in routers such as
af640ac4d4/routers/init.go (L185)
This commit is contained in:
parent
af640ac4d4
commit
5f173bdab3
@ -586,6 +586,7 @@ var (
|
||||
reservedUsernames = []string{
|
||||
".",
|
||||
"..",
|
||||
"-", // used by certain web routes
|
||||
".well-known",
|
||||
|
||||
"api", // gitea api
|
||||
|
Loading…
Reference in New Issue
Block a user