mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 17:04:27 +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{
|
reservedUsernames = []string{
|
||||||
".",
|
".",
|
||||||
"..",
|
"..",
|
||||||
|
"-", // used by certain web routes
|
||||||
".well-known",
|
".well-known",
|
||||||
|
|
||||||
"api", // gitea api
|
"api", // gitea api
|
||||||
|
|
Loading…
Reference in a new issue