From a74cdcc061931f0a813cd6431680721522be0c5e Mon Sep 17 00:00:00 2001
From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com>
Date: Fri, 19 May 2023 12:21:06 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=8F=8D=E5=90=91?=
=?UTF-8?q?=E4=BB=A3=E7=90=86=201Panel=20=E5=B9=B6=E5=90=AF=E7=94=A8=20aut?=
=?UTF-8?q?h=5Fbasic=20=E7=9A=84=E6=97=B6=E5=80=99=E6=97=A0=E6=B3=95?=
=?UTF-8?q?=E7=99=BB=E5=BD=95=E7=9A=84=E9=97=AE=E9=A2=98=20(#1083)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Refs https://github.com/1Panel-dev/1Panel/issues/1082
---
backend/constant/session.go | 2 +-
.../src/views/app-store/installed/detail/index.vue | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/backend/constant/session.go b/backend/constant/session.go
index 446ddfe6a..94fdf462d 100644
--- a/backend/constant/session.go
+++ b/backend/constant/session.go
@@ -5,7 +5,7 @@ const (
SessionName = "psession"
AuthMethodJWT = "jwt"
- JWTHeaderName = "Authorization"
+ JWTHeaderName = "PanelAuthorization"
JWTBufferTime = 3600
JWTIssuer = "1Panel"
diff --git a/frontend/src/views/app-store/installed/detail/index.vue b/frontend/src/views/app-store/installed/detail/index.vue
index 444438a6c..94642524e 100644
--- a/frontend/src/views/app-store/installed/detail/index.vue
+++ b/frontend/src/views/app-store/installed/detail/index.vue
@@ -9,11 +9,15 @@
-
-
- {{ param.showValue && param.showValue != '' ? param.showValue : param.value }}
-
-
+
+
+
+
+ {{ param.showValue && param.showValue != '' ? param.showValue : param.value }}
+
+
+
+