From a68bf746a4bf111e56e0e7133195b82467b182c9 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Tue, 16 Jan 2018 00:45:13 +0200 Subject: [PATCH] Change reserved avatar name to correct - avatars (#3375) --- models/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/user.go b/models/user.go index da9411dcb6b9..bf28683285d4 100644 --- a/models/user.go +++ b/models/user.go @@ -649,7 +649,7 @@ func NewGhostUser() *User { } var ( - 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", ".", ".."} + 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", ".", ".."} reservedUserPatterns = []string{"*.keys"} )