Hotfix renewtoken not working as expected
gitea/worker-time-control/pipeline/pr-master This commit looks good
Details
gitea/worker-time-control/pipeline/pr-master This commit looks good
Details
Había un error en el tipo de datos a la hora de hacer la comprobación.
This commit is contained in:
parent
e79c767de0
commit
ced01beaea
|
@ -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