Add autofocus to username input and change cookie sameSite to lax

This commit is contained in:
Ryderjj89
2025-10-01 17:44:55 -04:00
parent 4dbb6e040f
commit a97c1955c8
2 changed files with 10 additions and 9 deletions

View File

@@ -7,14 +7,15 @@
</template>
<form @submit.prevent="handleSubmit" class="space-y-4">
<UFormGroup label="Username" name="username">
<UInput
v-model="form.username"
placeholder="Enter username"
:disabled="loading"
class="w-full"
/>
</UFormGroup>
<UFormGroup label="Username" name="username">
<UInput
v-model="form.username"
placeholder="Enter username"
:disabled="loading"
class="w-full"
autofocus
/>
</UFormGroup>
<UFormGroup label="Password" name="password">
<UInput