Browse Source

stop refreshing jwt every 5 minutes

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
71b983823a
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      src/LessPass.vue

+ 0
- 6
src/LessPass.vue View File

@@ -49,12 +49,6 @@
computed: mapGetters(['version']),
created(){
this.$store.dispatch('loadPasswordFirstTime');

const fiveMinutes = 1000 * 60 * 5;
this.$store.dispatch('refreshToken');
setInterval(() => {
this.$store.dispatch('refreshToken');
}, fiveMinutes);
}
}
</script>

Loading…
Cancel
Save