修改默认用户密码

This commit is contained in:
2248356998 qq.com
2023-03-04 21:37:47 +08:00
parent 203109ded2
commit 2448b2c457
4 changed files with 5 additions and 5 deletions

View File

@@ -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",

View File

@@ -1,6 +1,6 @@
{
"name": "thingsgateway",
"version": "^1.2.0",
"version": "^1.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",

View File

@@ -67,7 +67,7 @@
"Id": "22222222222231",
"Category": "SYS_BASE",
"ConfigKey": "SYS_DEFAULT_PASSWORD",
"ConfigValue": "123456",
"ConfigValue": "111111",
"Remark": "默认用户密码",
"SortCode": "7",
"IsDelete": "0"

View File

@@ -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;