aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BackEnd/Timeline/Timeline.csproj1
-rw-r--r--BackEnd/Timeline/packages.lock.json38
-rw-r--r--FrontEnd/src/views/settings/index.tsx2
3 files changed, 1 insertions, 40 deletions
diff --git a/BackEnd/Timeline/Timeline.csproj b/BackEnd/Timeline/Timeline.csproj
index 33ad5950..6967280a 100644
--- a/BackEnd/Timeline/Timeline.csproj
+++ b/BackEnd/Timeline/Timeline.csproj
@@ -47,7 +47,6 @@
</PackageReference>
<PackageReference Include="NSwag.AspNetCore" Version="13.15.10" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.1" />
- <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.17.0" />
</ItemGroup>
<ItemGroup>
diff --git a/BackEnd/Timeline/packages.lock.json b/BackEnd/Timeline/packages.lock.json
index 683332f9..52b156f1 100644
--- a/BackEnd/Timeline/packages.lock.json
+++ b/BackEnd/Timeline/packages.lock.json
@@ -101,16 +101,6 @@
"System.Text.Encoding.CodePages": "5.0.0"
}
},
- "System.IdentityModel.Tokens.Jwt": {
- "type": "Direct",
- "requested": "[6.17.0, )",
- "resolved": "6.17.0",
- "contentHash": "G3rY4WLr54Mo+97+AEq0ANpiKvW7E8Qu5bKWfVMa7rkyJtvrOxUqp/OLqrGw/6JDbD5GlxnAtFKukGteUuB0rQ==",
- "dependencies": {
- "Microsoft.IdentityModel.JsonWebTokens": "6.17.0",
- "Microsoft.IdentityModel.Tokens": "6.17.0"
- }
- },
"Humanizer.Core": {
"type": "Transitive",
"resolved": "2.8.26",
@@ -286,29 +276,6 @@
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
- "Microsoft.IdentityModel.JsonWebTokens": {
- "type": "Transitive",
- "resolved": "6.17.0",
- "contentHash": "I3cSVE185qF3a222/iQIdmBFhrhZBtz7wZ1RUUbMuHC1un79XCI7vggbWdmbqIttFcUoeziemadO6t+3FLjcSA==",
- "dependencies": {
- "Microsoft.IdentityModel.Tokens": "6.17.0"
- }
- },
- "Microsoft.IdentityModel.Logging": {
- "type": "Transitive",
- "resolved": "6.17.0",
- "contentHash": "Ix6/CMLDoo939NDf1ARDuGK6YERY7pAX9WYbfwb4gZqx7r52unMFIykJk+zlEBX7jjtbDz/0uzikQFvheV9KsQ=="
- },
- "Microsoft.IdentityModel.Tokens": {
- "type": "Transitive",
- "resolved": "6.17.0",
- "contentHash": "mhOe+d9BQg5U45TkTCyXAFOjl7RvwaFj6v9qo8b+WFolkuGsfjSFfQ+WI9D3ho9sD/fK75gvL4JptmjLzyUPkw==",
- "dependencies": {
- "Microsoft.CSharp": "4.5.0",
- "Microsoft.IdentityModel.Logging": "6.17.0",
- "System.Security.Cryptography.Cng": "4.5.0"
- }
- },
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "5.0.0",
@@ -764,11 +731,6 @@
"System.Runtime": "4.1.0"
}
},
- "System.Security.Cryptography.Cng": {
- "type": "Transitive",
- "resolved": "4.5.0",
- "contentHash": "WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A=="
- },
"System.Text.Encoding": {
"type": "Transitive",
"resolved": "4.0.11",
diff --git a/FrontEnd/src/views/settings/index.tsx b/FrontEnd/src/views/settings/index.tsx
index 040d604c..51053d6f 100644
--- a/FrontEnd/src/views/settings/index.tsx
+++ b/FrontEnd/src/views/settings/index.tsx
@@ -5,6 +5,7 @@ import classnames from "classnames";
import { convertI18nText, I18nText } from "@/common";
import { useUser, userService } from "@/services/user";
+import { getHttpUserClient } from "@/http/user";
import { TimelineVisibility } from "@/http/timeline";
import ConfirmDialog from "../common/dailog/ConfirmDialog";
@@ -15,7 +16,6 @@ import ChangeAvatarDialog from "./ChangeAvatarDialog";
import ChangeNicknameDialog from "./ChangeNicknameDialog";
import "./index.css";
-import { getHttpUserClient } from "@/http/user";
interface SettingSectionProps {
title: I18nText;