Skip to content

Commit

Permalink
Revert "Refresh only once after login (#42)" (#59)
Browse files Browse the repository at this point in the history
This reverts commit 5105bc3.
  • Loading branch information
gtmills authored Nov 17, 2022
1 parent b0e0e63 commit b311334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Login/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ export default {
this.$store.dispatch('global/getCurrentUser', username),
this.$store.dispatch('global/getSystemInfo'),
]).then(() => {
location.href = '/';
this.$router.push('/');
location.reload();
});
}
})
Expand Down

0 comments on commit b311334

Please sign in to comment.