From 71b983823af55f3335b704221b0e114fee22bacd Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Sat, 4 Feb 2017 10:26:45 +0100 Subject: [PATCH] stop refreshing jwt every 5 minutes --- src/LessPass.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/LessPass.vue b/src/LessPass.vue index cf90e95..3749896 100644 --- a/src/LessPass.vue +++ b/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); } } \ No newline at end of file