added let op message

This commit is contained in:
Xeovalyte 2022-09-26 17:01:50 +02:00
parent 8baaf266f4
commit 7f64f2f3ea

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="flex flex-col gap-5 mx-auto p-2 w-full max-w-md"> <div class="flex flex-col gap-5 mx-auto p-2 w-full max-w-md">
<form @submit.prevent="saveEmail" class="flex flex-col"> <form @submit.prevent="saveEmail" class="flex flex-col">
<p class="mb-5 text-lg text-red-500 font-bold">Let op! Je verandert alleen het Email van de app dus <u>NIET</u> van de vereniging!</p>
<label class="font-bold">Password</label> <label class="font-bold">Password</label>
<input v-model="password" required="true" class="input " :type="showPassword ? 'text' : 'password'"> <input v-model="password" required="true" class="input " :type="showPassword ? 'text' : 'password'">
@ -42,7 +43,7 @@ const showPassword = ref(false)
const saveEmail = () => { const saveEmail = () => {
disableButtons.value = true disableButtons.value = true
const credential = EmailAuthProvider.credential( const credential = EmailAuthProvider.credential(
user.value.email, user.value.email,
password.value password.value