mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:45:19 +00:00
fix: add search to reserved usernames (#9063)
* fix: add search to reserved usernames * Update integrations/user_test.go Co-Authored-By: 6543 <24977596+6543@users.noreply.github.com>
This commit is contained in:
parent
d338e8238f
commit
f128e06ea6
|
@ -90,6 +90,7 @@ func TestRenameReservedUsername(t *testing.T) {
|
|||
"repo",
|
||||
"template",
|
||||
"user",
|
||||
"search",
|
||||
}
|
||||
|
||||
session := loginUser(t, "user2")
|
||||
|
|
|
@ -822,6 +822,7 @@ var (
|
|||
".",
|
||||
"..",
|
||||
".well-known",
|
||||
"search",
|
||||
}
|
||||
reservedUserPatterns = []string{"*.keys", "*.gpg"}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue