asdek; hotfixy

This commit is contained in:
2024-03-04 18:14:42 +01:00
parent f7eeaa342a
commit c3b8ed9359
5 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export default defineComponent({
const response = await client.post<IUser>('/auth/token');
this.store.setUserData(response.data);
this.$router.push('/');
// this.$router.push('/');
} catch (error) {
this.store.removeUserData();
this.$router.push('/login');