aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-01-16 00:45:13 +0200
committerGitHub <noreply@github.com>2018-01-16 00:45:13 +0200
commita68bf746a4bf111e56e0e7133195b82467b182c9 (patch)
tree86fa16fa40767f2f601ff57302a833d0995f0fc1 /models
parente2bb7933e8619be4ef65abf34a06cb60802ba744 (diff)
downloadgitea-a68bf746a4bf111e56e0e7133195b82467b182c9.tar.gz
gitea-a68bf746a4bf111e56e0e7133195b82467b182c9.zip
Change reserved avatar name to correct - avatars (#3375)
Diffstat (limited to 'models')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index da9411dcb6..bf28683285 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"}
)