Skip to content

Commit 74777b9

Browse files
authored
Merge pull request #54 from jumpserver/pr@dev@fix_session_expired_i18n
fix: 修复会话授权过期提示没翻译的问题
2 parents f797419 + fdfa08e commit 74777b9

File tree

1 file changed

+3
-0
lines changed
  • backend/framework/src/main/java/org/jumpserver/chen/framework/session/impl

1 file changed

+3
-0
lines changed

backend/framework/src/main/java/org/jumpserver/chen/framework/session/impl/JMSSession.java

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ public JMSSession(Common.Session session,
109109

110110

111111
public void setDynamicEndInfo(String reason) {
112+
113+
SessionManager.setContext(this.getWebToken());
114+
112115
this.dynamicEndReason = reason;
113116
this.dynamicEndTime = LocalDateTime.now().plusMinutes(10);
114117

0 commit comments

Comments
 (0)