From fa788c34d4e0e0b3cc97d1c49b2536cb8878867a Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 16 Jul 2024 11:10:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=97=B6=E5=80=99=E6=89=93=E5=BC=80office=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E6=88=96=E8=80=85=E7=A7=81=E5=AF=86=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E7=9A=84office=E6=96=87=E4=BB=B6=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=B9=B1=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jmal/clouddisk/interceptor/AuthInterceptor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/jmal/clouddisk/interceptor/AuthInterceptor.java b/src/main/java/com/jmal/clouddisk/interceptor/AuthInterceptor.java index 06469487..5c83b409 100644 --- a/src/main/java/com/jmal/clouddisk/interceptor/AuthInterceptor.java +++ b/src/main/java/com/jmal/clouddisk/interceptor/AuthInterceptor.java @@ -198,6 +198,7 @@ private static String renewJmalToken(HttpServletRequest request, HttpServletResp Cookie cookie = new Cookie(JMAL_TOKEN, jmalToken); cookie.setPath("/"); response.addCookie(cookie); + response.addHeader(JMAL_TOKEN, jmalToken); setRefreshCookie(response, hashPassword, username, rememberMe); } return username;