Skip to content

Commit

Permalink
Remove password confirmation field from
Browse files Browse the repository at this point in the history
registration form
  • Loading branch information
Lee0z committed Nov 8, 2023
1 parent 9a5c561 commit 64c82bb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions resources/js/Shared/Layout/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const registerForm = useForm({
name: '',
email: '',
password: '',
password_confirmation: '',
})
function register() {
Expand Down Expand Up @@ -221,12 +220,6 @@ defineExpose({
<button type="button" class="absolute bottom-3 right-2 md:bottom-2" @click="togglePasswordVisibility">
<component :is="!isPasswordVisible ? EyeIcon : EyeSlashIcon" class="h-6 w-6 text-blumilk-400" />
</button>
</div>
<div>
<label class="mb-1 block text-sm font-semibold text-gray-800">{{ __('Confirm password') }}</label>
<input v-model="registerForm.password_confirmation" :type="isPasswordVisible ? 'text' : 'password'"
class="w-full rounded-lg border-blumilk-200 py-3 md:p-2" required
>
<ErrorMessage :message="registerForm.errors.password" />
</div>
<div class="flex w-full md:w-fit">
Expand Down

0 comments on commit 64c82bb

Please sign in to comment.