0
Fork 0
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:
Ikuyo 2024-07-23 08:18:20 +05:00 committed by Gusted
parent 2d75f6f0d3
commit 32ebadccd1
No known key found for this signature in database
GPG key ID: FD821B732837125F
2 changed files with 2 additions and 0 deletions

View file

@ -558,6 +558,7 @@ var (
"captcha",
"commits",
"debug",
"devtest",
"error",
"explore",
"favicon.ico",

View file

@ -110,6 +110,7 @@ func TestRenameReservedUsername(t *testing.T) {
"captcha",
"commits",
"debug",
"devtest",
"error",
"explore",
"favicon.ico",