aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechknowlogick <matti@mdranta.net>2019-03-07 16:30:25 -0500
committerGitHub <noreply@github.com>2019-03-07 16:30:25 -0500
commit9fd8b2621fb6e25e5cce7a5b5b08a993a145bc78 (patch)
treef256b94a2777caa910a78cbf2dd304004a9f0c2f
parentf2de5dc8c87b4625790fb45446c296d476b1e747 (diff)
downloadgitea-9fd8b2621fb6e25e5cce7a5b5b08a993a145bc78.tar.gz
gitea-9fd8b2621fb6e25e5cce7a5b5b08a993a145bc78.zip
Add robots.txt as reserved username (#6272)
Fix #6271
-rw-r--r--models/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index b64454d213..b244f4ecef 100644
--- a/models/user.go
+++ b/models/user.go
@@ -742,6 +742,7 @@ var (
"template",
"user",
"vendor",
+ "robots.txt",
".",
"..",
}