Skip to content

Commit

Permalink
reload page after auto-login
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus1812 committed Dec 26, 2023
1 parent 7585a5d commit 5501c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineComponent({
formData.append("password", "test");
formData.append("remember_me", String(true));
$auth.loginWith("local", { data: formData });
$auth.loginWith("local", { data: formData }).then(() => router.push("/g/home"))
}
}
});
Expand Down

0 comments on commit 5501c16

Please sign in to comment.