mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 08:54:08 +01:00
Add -
as reserved user
used in routers such as
af640ac4d4/routers/init.go (L185)
This commit is contained in:
parent
af640ac4d4
commit
5f173bdab3
1 changed files with 1 additions and 0 deletions
|
@ -586,6 +586,7 @@ var (
|
|||
reservedUsernames = []string{
|
||||
".",
|
||||
"..",
|
||||
"-", // used by certain web routes
|
||||
".well-known",
|
||||
|
||||
"api", // gitea api
|
||||
|
|
Loading…
Reference in a new issue