Browse Source

Added public entries to reserved keywords list

pull/3728/head
Flare 8 years ago
parent
commit
7f53fcaf2f
No known key found for this signature in database
GPG Key ID: 762EE3D369C1A772
  1. 2
      models/user.go

2
models/user.go

@ -488,7 +488,7 @@ func NewGhostUser() *User {
}
var (
reversedUsernames = []string{"debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."}
reversedUsernames = []string{"assets", "css", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."}
reversedUserPatterns = []string{"*.keys"}
)

Loading…
Cancel
Save