diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-12 02:39:38 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-12 09:39:38 +0800 |
commit | 0475e7351fda1c1d60958f807c51001d10dee9bb (patch) | |
tree | bbab3a5cc0ddb4dde692355f237fd4140ce934d3 | |
parent | bdcc1a23e0525da67d722c65bcdbb7e3fa7cfdf8 (diff) | |
download | gitea-0475e7351fda1c1d60958f807c51001d10dee9bb.tar.gz gitea-0475e7351fda1c1d60958f807c51001d10dee9bb.zip |
Reserve the "explore" user/org name (#1222)
-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 a7e22659ec..7cdff1a46f 100644 --- a/models/user.go +++ b/models/user.go @@ -630,7 +630,7 @@ func NewGhostUser() *User { } var ( - reservedUsernames = []string{"assets", "css", "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", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."} reservedUserPatterns = []string{"*.keys"} ) |