[v8.0/forgejo] Reserve `devtest` username
**Backport: #4638** This PR reserves the devtest username. This is because /devtest is used for testing various elements and layouts of the UI, and creating a user or organisation with that name may cause problems and conflicts if the RUN_MODE is set to dev
This commit is contained in:
parent
2d75f6f0d3
commit
32ebadccd1
|
@ -558,6 +558,7 @@ var (
|
|||
"captcha",
|
||||
"commits",
|
||||
"debug",
|
||||
"devtest",
|
||||
"error",
|
||||
"explore",
|
||||
"favicon.ico",
|
||||
|
|
|
@ -110,6 +110,7 @@ func TestRenameReservedUsername(t *testing.T) {
|
|||
"captcha",
|
||||
"commits",
|
||||
"debug",
|
||||
"devtest",
|
||||
"error",
|
||||
"explore",
|
||||
"favicon.ico",
|
||||
|
|
Loading…
Reference in New Issue