build: refs #6859 #23
|
@ -45,7 +45,7 @@ function getTokenConfig() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkValidity() {
|
function checkValidity() {
|
||||||
const created = localStorage.getItem('created');
|
const created = +localStorage.getItem('created');
|
||||||
const ttl = localStorage.getItem('ttl');
|
const ttl = localStorage.getItem('ttl');
|
||||||
|
|
||||||
if (isCheckingToken || !created) return;
|
if (isCheckingToken || !created) return;
|
||||||
|
|
Loading…
Reference in New Issue