mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-20 10:50:48 +08:00
修改默认用户密码
This commit is contained in:
4
handbook/package-lock.json
generated
4
handbook/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "thingsgateway",
|
||||
"version": "^1.2.0",
|
||||
"version": "^1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "thingsgateway",
|
||||
"version": "^1.2.0",
|
||||
"version": "^1.0.0",
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.2.0",
|
||||
"@docusaurus/preset-classic": "^2.2.0",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "thingsgateway",
|
||||
"version": "^1.2.0",
|
||||
"version": "^1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
|
@@ -67,7 +67,7 @@
|
||||
"Id": "22222222222231",
|
||||
"Category": "SYS_BASE",
|
||||
"ConfigKey": "SYS_DEFAULT_PASSWORD",
|
||||
"ConfigValue": "123456",
|
||||
"ConfigValue": "111111",
|
||||
"Remark": "默认用户密码",
|
||||
"SortCode": "7",
|
||||
"IsDelete": "0"
|
||||
|
@@ -92,7 +92,7 @@ namespace ThingsGateway.Web.Rcl
|
||||
if (App.HostEnvironment.IsDevelopment())
|
||||
{
|
||||
loginModel.Account = "superAdmin";
|
||||
Password = "123456";
|
||||
Password = "111111";
|
||||
}
|
||||
GetCaptchaInfo();
|
||||
SYS_DEFAULT_TITLE = (await ConfigService.GetByConfigKey(CateGoryConst.Config_SYS_BASE, DevConfigConst.SYS_DEFAULT_TITLE)).ConfigValue;
|
||||
|
Reference in New Issue
Block a user