Fix auth cookie persist path (#20)

This commit is contained in:
AceDataCloud committed 2024-01-03 11:32:32 +08:00
1 parent 636b98e003
commit 1e1becd8ee
7 files changed
+19 -23

No files matched your search

+1 -1
View File
@@ -2,7 +2,6 @@
import { defineComponent } from 'vue';
import { IUser } from '@/operators';
import { IToken } from '@/operators/auth/models';
import { ROUTE_AUTH_LOGIN } from '@/router';
interface IData {
accessToken: string | undefined;
@@ -41,6 +40,7 @@ export default defineComponent({
await this.$router.push(this.redirect);
}
} else {
// reset token and trigger popup login window
this.$store.dispatch('resetToken');
}
}