fix: add search to reserved usernames (#9063) (#9065)

* fix: add search to reserved usernames

* Update integrations/user_test.go

Co-Authored-By: 6543 <[email protected]>
This commit is contained in:
Antoine GIRARD
2019-11-18 22:40:14 +00:00
committed by zeripath
co-authored by zeripath 6543
parent ecdb4c1750
commit 6ef0ab4d96
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -90,6 +90,7 @@ func TestRenameReservedUsername(t *testing.T) {
"repo",
"template",
"user",
"search",
}
session := loginUser(t, "user2")
+1
View File
@@ -822,6 +822,7 @@ var (
".",
"..",
".well-known",
"search",
}
reservedUserPatterns = []string{"*.keys", "*.gpg"}
)