Skip to content

Commit

Permalink
slight change
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmegood committed Feb 2, 2024
1 parent 0b683a8 commit a7b95b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/routes/_auth+/forgot-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function action({ request }: ActionFunctionArgs) {
ctx.addIssue({
path: ['email'],
code: z.ZodIssueCode.custom,
message: 'No user exists with this username or email',
message: 'No user exists with this email',
})
return
}
Expand Down Expand Up @@ -145,11 +145,11 @@ export default function ForgotPasswordRoute() {
<Field
labelProps={{
htmlFor: fields.email.id,
children: 'Username or Email',
children: 'Email',
}}
inputProps={{
autoFocus: true,
...getInputProps(fields.email, { type: 'text' }),
...getInputProps(fields.email, { type: 'email' }),
}}
errors={fields.email.errors}
/>
Expand Down

0 comments on commit a7b95b3

Please sign in to comment.