mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Test more reserved usernames (#8263)
* Test more reserved usernames * Add more reserved usernames, sort them * Reserve "attachments" username (is a used route) * It's "avatars" being reserved, not "avatar"
This commit is contained in:
committed by
techknowlogick
parent
43c0249583
commit
3dd1cee331
@@ -776,6 +776,7 @@ func NewGhostUser() *User {
|
||||
|
||||
var (
|
||||
reservedUsernames = []string{
|
||||
"attachments",
|
||||
"admin",
|
||||
"api",
|
||||
"assets",
|
||||
|
Reference in New Issue
Block a user