diff options
author | crupest <crupest@outlook.com> | 2022-04-27 20:46:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-27 20:46:08 +0800 |
commit | aa97fed1ac546f1544535e7c4675410a4c045812 (patch) | |
tree | 9f6aace0d6d6a3a42b4f5c0aee27470ac0fe477a | |
parent | aafc094ab897195cd762cbfd93400d91ecfb26b3 (diff) | |
download | timeline-aa97fed1ac546f1544535e7c4675410a4c045812.tar.gz timeline-aa97fed1ac546f1544535e7c4675410a4c045812.tar.bz2 timeline-aa97fed1ac546f1544535e7c4675410a4c045812.zip |
...
-rw-r--r-- | BackEnd/Timeline/Timeline.csproj | 1 | ||||
-rw-r--r-- | BackEnd/Timeline/packages.lock.json | 38 | ||||
-rw-r--r-- | FrontEnd/src/views/settings/index.tsx | 2 |
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; |