Use a different cookie to expire any cookies people may already have
We also check for a specific value in case people set it to `true` for some reason.
This commit is contained in:
@@ -2,7 +2,7 @@ import {getVectorConfig} from '../getconfig';
|
||||
|
||||
function onBackToRiotClick() {
|
||||
// Cookie should expire in 4 hours
|
||||
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=14400';
|
||||
document.cookie = 'riot_mobile_redirect_to_guide=false;path=/;max-age=14400';
|
||||
window.location.href = '../';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user