Add - as reserved user
used in routers such as https://codeberg.org/forgejo/forgejo/src/commit/af640ac4d4f3c2cbd93e7f23a9615be65f0b4611/routers/init.go#L185
This commit is contained in:
@@ -586,6 +586,7 @@ var (
|
||||
reservedUsernames = []string{
|
||||
".",
|
||||
"..",
|
||||
"-", // used by certain web routes
|
||||
".well-known",
|
||||
|
||||
"api", // gitea api
|
||||
|
||||
Reference in New Issue
Block a user