wildcard
This commit is contained in:
parent
d10f9c77cb
commit
ce48cb551f
|
@ -655,7 +655,7 @@ func NewGhostUser() *User {
|
|||
|
||||
var (
|
||||
reservedUsernames = []string{"assets", "css", "explore", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatars", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "error", "new", ".", ".."}
|
||||
reservedUserPatterns = []string{"*.keys", ".gpg"}
|
||||
reservedUserPatterns = []string{"*.keys", "*.gpg"}
|
||||
)
|
||||
|
||||
// isUsableName checks if name is reserved or pattern of name is not allowed
|
||||
|
|
Loading…
Reference in New Issue
Block a user