diff --git a/js/main.js b/js/main.js index 23944d3..1d4f89b 100644 --- a/js/main.js +++ b/js/main.js @@ -45,7 +45,7 @@ function getTokenConfig() { } function checkValidity() { - const created = localStorage.getItem('created'); + const created = +localStorage.getItem('created'); const ttl = localStorage.getItem('ttl'); if (isCheckingToken || !created) return;