Remove vform - working on form public page

This commit is contained in:
Julien Nahum
2023-12-24 20:19:59 +01:00
parent 8db2b09767
commit e2dd0295ff
32 changed files with 951 additions and 813 deletions

View File

@@ -47,8 +47,6 @@
</template>
<script>
import Form from 'vform'
export default {
name: 'ForgotPasswordModal',
components: { },
@@ -60,7 +58,7 @@
},
data: () => ({
isMailSent: false,
form: new Form({
form: useForm({
email: ''
})
}),

View File

@@ -48,8 +48,6 @@
</template>
<script>
import Form from 'vform'
export default {
name: 'RegisterForm',
components: {},
@@ -71,7 +69,7 @@ export default {
},
data: () => ({
form: new Form({
form: useForm({
name: '',
email: '',
password: '',

View File

@@ -13,8 +13,6 @@
<script>
import { computed } from 'vue'
import axios from 'axios'
import Form from 'vform'
import { useAuthStore } from '../../../stores/auth'
import TextInput from '../../forms/TextInput.vue'
import VButton from '~/components/global/VButton.vue'
@@ -43,7 +41,7 @@ export default {
},
data: () => ({
form: new Form({
form: useForm({
name: '',
email: ''
}),