Skip to content

Commit 0475e73

Browse files
strklunny
authored andcommitted
Reserve the "explore" user/org name (#1222)
1 parent bdcc1a2 commit 0475e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ func NewGhostUser() *User {
630630
}
631631

632632
var (
633-
reservedUsernames = []string{"assets", "css", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."}
633+
reservedUsernames = []string{"assets", "css", "explore", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."}
634634
reservedUserPatterns = []string{"*.keys"}
635635
)
636636

0 commit comments

Comments
 (0)