YANG QIA be6b949f55
feat(auth): support signing in with username (#2376)
* feat(auth): support signing in with username

* chore: compatibility && add INIT_ROOT_USERNAME

* chore: add default username of root user

* chore: add notice

* fix: typo

* chore: change rule of username

* fix: sqlite add unique constraint

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00

18 lines
352 B
Smarty

APP_ENV={{{env.APP_ENV}}}
APP_KEY={{{env.APP_KEY}}}
APP_PORT={{{env.APP_PORT}}}
API_BASE_PATH=/api/
API_BASE_URL=
PLUGIN_PACKAGE_PREFIX={{{env.PLUGIN_PACKAGE_PREFIX}}}
DB_LOGGING=off
DB_DIALECT={{{env.DB_DIALECT}}}
{{{envs}}}
INIT_ROOT_EMAIL=admin@nocobase.com
INIT_ROOT_PASSWORD=admin123
INIT_ROOT_NICKNAME=Super Admin
INIT_ROOT_USERNAME=nocobase