This PR adds a feature to prevent users from creating a new account with a reserved username such as root, admin, system, proxy, info, etc... Reserved usernames can be configured via the config file. The administrator can create an account with a reserved username via the first setup screen or the control panel. The existing account of reserved usernames will not be affected. Co-authored-by: Namekuji <nmkj@mx.kazuno.co> Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9917 Co-authored-by: Namekuji <nmkj@noreply.codeberg.org> Co-committed-by: Namekuji <nmkj@noreply.codeberg.org> |
||
|---|---|---|
| .. | ||
| .idea | ||
| .vscode | ||
| assets | ||
| migration | ||
| native-utils | ||
| nsfw-model | ||
| src | ||
| test | ||
| .mocharc.json | ||
| .swcrc | ||
| check_connect.js | ||
| jsconfig.json | ||
| ormconfig.js | ||
| package.json | ||
| tsconfig.json | ||