duqing2026 commited on
Commit
f0f4262
·
verified ·
1 Parent(s): 3c2f3f7

Update src/app/page.tsx

Browse files
Files changed (1) hide show
  1. src/app/page.tsx +1 -1
src/app/page.tsx CHANGED
@@ -113,7 +113,7 @@ function HomeContent() {
113
  }, [currentSessionId, updateSessionMessages]);
114
 
115
  const handleLogout = () => {
116
- document.cookie = "auth_token=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT";
117
  localStorage.removeItem('rag_kb_current_session_id');
118
  window.location.href = "/login";
119
  };
 
113
  }, [currentSessionId, updateSessionMessages]);
114
 
115
  const handleLogout = () => {
116
+ document.cookie = "auth_token=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT; SameSite=None; Secure";
117
  localStorage.removeItem('rag_kb_current_session_id');
118
  window.location.href = "/login";
119
  };