Add login view
This commit is contained in:
parent
8b70374de6
commit
3376253792
4 changed files with 24 additions and 11 deletions
|
@ -10,7 +10,7 @@
|
|||
Deine E-Mail-Adresse wurde erfolgreich bestätigt. Du kannst dich nun
|
||||
anmelden.
|
||||
</b-notification>
|
||||
<LoginForm />
|
||||
<LoginForm v-if="!user.isAuthenticated" :user="user" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -24,6 +24,7 @@ import { User } from "@/api";
|
|||
@Component({ components: { LoginForm } })
|
||||
export default class Home extends Vue {
|
||||
private isConfirmation = false;
|
||||
private user = new User("", "");
|
||||
|
||||
private async created() {
|
||||
if (this.$route.name === "Confirm") this.isConfirmation = true;
|
||||
|
|
Reference in a new issue