mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 15:53:07 -05:00
[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
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue