now login is using username not email

This commit is contained in:
Geriano
2022-07-16 01:13:45 +07:00
parent 12f7a74e10
commit 0a92d68068
9 changed files with 35 additions and 20 deletions

View File

@@ -11,6 +11,7 @@ import JetValidationErrors from '@/Jetstream/ValidationErrors.vue';
const form = useForm({
name: '',
email: '',
username: '',
password: '',
password_confirmation: '',
terms: false,
@@ -58,6 +59,17 @@ const submit = () => {
/>
</div>
<div class="mt-4">
<JetLabel for="username" value="Username" />
<JetInput
id="username"
v-model="form.username"
type="text"
class="mt-1 block w-full"
required
/>
</div>
<div class="mt-4">
<JetLabel for="password" value="Password" />
<JetInput