diff options
author | Lauris BH <lauris@nix.lv> | 2018-01-16 00:45:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 00:45:13 +0200 |
commit | a68bf746a4bf111e56e0e7133195b82467b182c9 (patch) | |
tree | 86fa16fa40767f2f601ff57302a833d0995f0fc1 /models | |
parent | e2bb7933e8619be4ef65abf34a06cb60802ba744 (diff) | |
download | gitea-a68bf746a4bf111e56e0e7133195b82467b182c9.tar.gz gitea-a68bf746a4bf111e56e0e7133195b82467b182c9.zip |
Change reserved avatar name to correct - avatars (#3375)
Diffstat (limited to 'models')
-rw-r--r-- | models/user.go | 2 |
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"} ) |