From 0d2668f2b16dadd9f613159a219da729f05422c2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 3 Apr 2019 18:01:09 -0600 Subject: [PATCH] Step cookie down to 4 hours --- src/vector/mobile_guide/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/mobile_guide/index.js b/src/vector/mobile_guide/index.js index 9d8a44920f..b3cbff14a0 100644 --- a/src/vector/mobile_guide/index.js +++ b/src/vector/mobile_guide/index.js @@ -1,8 +1,8 @@ import {getVectorConfig} from '../getconfig'; function onBackToRiotClick() { - // Cookie should expire in 24 hours - document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=86400'; + // Cookie should expire in 4 hours + document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=14400'; window.location.href = '../'; }