refactor: add form keys to auth useForm calls

This commit is contained in:
2026-02-21 14:03:47 +01:00
parent 22a6bc5123
commit 619d84383f
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import AuthLayout from '@/layouts/AuthLayout.vue'
const { config, flash } = useAuth() const { config, flash } = useAuth()
const form = useForm({ const form = useForm('ForgotPasswordForm', {
email: '', email: '',
}) })

View File

@@ -8,7 +8,7 @@ import AuthLayout from '@/layouts/AuthLayout.vue'
const { config } = useAuth() const { config } = useAuth()
const form = useForm({ const form = useForm('RegisterForm', {
username: '', username: '',
first_name: '', first_name: '',
last_name: '', last_name: '',

View File

@@ -13,7 +13,7 @@ const props = defineProps<{
const { config } = useAuth() const { config } = useAuth()
const form = useForm({ const form = useForm('ResetPasswordForm', {
token: props.token, token: props.token,
email: props.email, email: props.email,
password: '', password: '',