Skip to content

Commit a68bf74

Browse files
authored
Change reserved avatar name to correct - avatars (#3375)
1 parent e2bb793 commit a68bf74

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
@@ -649,7 +649,7 @@ func NewGhostUser() *User {
649649
}
650650

651651
var (
652-
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", ".", ".."}
652+
reservedUsernames = []string{"assets", "css", "explore", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatars", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."}
653653
reservedUserPatterns = []string{"*.keys"}
654654
)
655655

0 commit comments

Comments
 (0)