chore: Update reset password page

This commit is contained in:
iamsivin
2025-11-07 18:04:24 +05:30
parent 5365304c6f
commit 86cbe7f0d6
@@ -3,8 +3,8 @@ import { useVuelidate } from '@vuelidate/core';
import { useAlert } from 'dashboard/composables';
import { required, minLength, email } from '@vuelidate/validators';
import { useBranding } from 'shared/composables/useBranding';
import FormInput from '../../../../components/Form/Input.vue';
import { resetPassword } from '../../../../api/auth';
import FormInput from 'dashboard/components-next/input/Input.vue';
import NextButton from 'dashboard/components-next/button/Button.vue';
export default {
@@ -84,8 +84,12 @@ export default {
<FormInput
v-model="credentials.email"
name="email_address"
:has-error="v$.credentials.email.$error"
:error-message="$t('RESET_PASSWORD.EMAIL.ERROR')"
autocomplete="email"
type="email"
:message="
v$.credentials.email.$error ? $t('RESET_PASSWORD.EMAIL.ERROR') : ''
"
:message-type="v$.credentials.email.$error ? 'error' : ''"
:placeholder="$t('RESET_PASSWORD.EMAIL.PLACEHOLDER')"
@input="v$.credentials.email.$touch"
/>