From 23f342d3f286315e58b45de76759e833226e147a Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 17 Oct 2016 22:22:41 +0200 Subject: [PATCH] refresh token is already in LessPass component --- src/App.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0e00cdf..ae2d1d6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,13 +18,6 @@ 'hero': Hero, 'features': Features, 'lesspass-footer': Footer, - }, - created(){ - const fiveMinutes = 1000 * 60 * 5; - this.$store.dispatch('REFRESH_TOKEN'); - setInterval(()=> { - this.$store.dispatch('REFRESH_TOKEN'); - }, fiveMinutes); } }