diff --git a/src/LessPass.vue b/src/LessPass.vue index 87c95ec..cf90e95 100644 --- a/src/LessPass.vue +++ b/src/LessPass.vue @@ -48,10 +48,12 @@ }, computed: mapGetters(['version']), created(){ + this.$store.dispatch('loadPasswordFirstTime'); + const fiveMinutes = 1000 * 60 * 5; - this.$store.dispatch('REFRESH_TOKEN'); + this.$store.dispatch('refreshToken'); setInterval(() => { - this.$store.dispatch('REFRESH_TOKEN'); + this.$store.dispatch('refreshToken'); }, fiveMinutes); } } diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 1423234..bbbc3cc 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -1,5 +1,5 @@