mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
fix password reset redirect bug
This commit is contained in:
Vendored
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user