mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix password reset redirect bug
This commit is contained in:
Vendored
+1
-1
@@ -50,7 +50,7 @@ const app = new Vue({
|
||||
store,
|
||||
created(){
|
||||
this.routesGuard();
|
||||
if (!this.$store.getters.isAdmin && !('company_marking' in this.$store.getters.getDecodedAccessToken.user) && (this.isProtectedRoute() || this.isWithTokenRoute())) {
|
||||
if (!this.$store.getters.isAdmin && !('company_marking' in this.$store.getters.getDecodedAccessToken.user) && this.isProtectedRoute() && !this.isWithTokenRoute()) {
|
||||
this.$store.dispatch('crudRequest', {endpoint: this.route('api.account.authentication.refresh'), method: 'get'}).then(response => {
|
||||
let success = response.ok;
|
||||
response.json().then(response => {
|
||||
|
||||
Reference in New Issue
Block a user