|
@@ -18,13 +18,6 @@ |
|
|
'hero': Hero, |
|
|
'hero': Hero, |
|
|
'features': Features, |
|
|
'features': Features, |
|
|
'lesspass-footer': Footer, |
|
|
'lesspass-footer': Footer, |
|
|
}, |
|
|
|
|
|
created(){ |
|
|
|
|
|
const fiveMinutes = 1000 * 60 * 5; |
|
|
|
|
|
this.$store.dispatch('REFRESH_TOKEN'); |
|
|
|
|
|
setInterval(()=> { |
|
|
|
|
|
this.$store.dispatch('REFRESH_TOKEN'); |
|
|
|
|
|
}, fiveMinutes); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |