瀏覽代碼

stop refreshing jwt every 5 minutes

pull/342/head
Guillaume Vincent 7 年之前
父節點
當前提交
71b983823a
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. +0
    -6
      src/LessPass.vue

+ 0
- 6
src/LessPass.vue 查看文件

@@ -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…
取消
儲存