mirror of https://github.com/vector-im/riot-web
Step cookie down to 4 hours
parent
b1c885a266
commit
0d2668f2b1
|
@ -1,8 +1,8 @@
|
||||||
import {getVectorConfig} from '../getconfig';
|
import {getVectorConfig} from '../getconfig';
|
||||||
|
|
||||||
function onBackToRiotClick() {
|
function onBackToRiotClick() {
|
||||||
// Cookie should expire in 24 hours
|
// Cookie should expire in 4 hours
|
||||||
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=86400';
|
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=14400';
|
||||||
window.location.href = '../';
|
window.location.href = '../';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue