Skip to content

Commit 5c3fb0a

Browse files
authored
Extend cookie time to solve issue with external redirect (bigbluebutton#5977)
1 parent 25ba321 commit 5c3fb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/components/rooms/room/join/JoinCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function JoinCard() {
7171

7272
useEffect(() => { // set cookie to return to if needed
7373
const date = new Date();
74-
date.setTime(date.getTime() + (60 * 1000)); // expire the cookie in 1min
74+
date.setTime(date.getTime() + (60 * 10000)); // expire the cookie in 10min
7575
document.cookie = `location=${path};path=/;expires=${date.toGMTString()}`;
7676

7777
return () => { // delete redirect location when unmounting

0 commit comments

Comments
 (0)