now login is using username not email
This commit is contained in:
@@ -14,7 +14,7 @@ defineProps({
|
||||
});
|
||||
|
||||
const form = useForm({
|
||||
email: '',
|
||||
username: '',
|
||||
password: '',
|
||||
remember: false,
|
||||
});
|
||||
@@ -45,11 +45,11 @@ const submit = () => {
|
||||
|
||||
<form @submit.prevent="submit">
|
||||
<div>
|
||||
<JetLabel for="email" value="Email" />
|
||||
<JetLabel for="username" value="Username" />
|
||||
<JetInput
|
||||
id="email"
|
||||
v-model="form.email"
|
||||
type="email"
|
||||
id="username"
|
||||
v-model="form.username"
|
||||
type="text"
|
||||
class="mt-1 block w-full"
|
||||
required
|
||||
autofocus
|
||||
|
||||
Reference in New Issue
Block a user