mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 21:48:14 +00:00
asdek; hotfixy
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user