Merge remote-tracking branch 'origin/v2-dev' into v2-dev

This commit is contained in:
xiaojunnuo
2025-01-19 00:37:26 +08:00
@@ -31,7 +31,8 @@ export class ResetPasswdMiddleware implements IWebMiddleware {
const newPasswd = '123456';
await this.userService.resetPassword(1, newPasswd);
await this.userService.updateStatus(1, 1);
logger.info(`重置1号管理员用户的密码完成,新密码为:${newPasswd}`);
const user = await this.userService.info(1);
logger.info(`重置1号管理员用户的密码完成,用户名:${user.username},新密码:${newPasswd}`);
}
}
}