diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/user/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user/user.go b/models/user/user.go index d49fbdd2fc..ec9b35964d 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -586,6 +586,7 @@ var ( reservedUsernames = []string{ ".", "..", + "-", // used by certain web routes ".well-known", "api", // gitea api |