From 8e10d68257a178870a4b26a44984c940feb8d4ee Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 26 Apr 2022 12:49:31 +0800 Subject: [PATCH] fix password reset redirect bug --- resources/assets/vue/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/assets/vue/app.js b/resources/assets/vue/app.js index 52b09587..cddcf3a7 100644 --- a/resources/assets/vue/app.js +++ b/resources/assets/vue/app.js @@ -50,7 +50,6 @@ const app = new Vue({ store, created(){ this.routesGuard(); - console.log(!this.$store.getters.isAdmin && !('company_marking' in this.$store.getters.getDecodedAccessToken.user) && this.isProtectedRoute()); if (!this.$store.getters.isAdmin && !('company_marking' in this.$store.getters.getDecodedAccessToken.user) && this.isProtectedRoute()) { this.$store.dispatch('crudRequest', {endpoint: this.route('api.account.authentication.refresh'), method: 'get'}).then(response => { let success = response.ok;