mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Step cookie down to 4 hours
This commit is contained in:
parent
b1c885a266
commit
0d2668f2b1
1 changed files with 2 additions and 2 deletions
|
@ -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 = '../';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue