feat: Re-enable signup and login

This commit is contained in:
aldrin 2021-08-02 10:14:38 +02:00
parent 3ad75c2f0d
commit 74afc805dc
12 changed files with 168 additions and 87 deletions

View file

@ -29,7 +29,7 @@ export default class Home extends mixins(NotifyMixin) {
public async created(): Promise<void> {
if (this.$route.name === "confirm") {
await this.doConfirm();
} else if (!this.user.isAuthenticated) {
} else if (!this.user.isAuthenticated && this.$route.name !== "login") {
this.$router.push({ name: "login" });
}
}