|
|
@@ -22,12 +22,12 @@ import { PasswordInput } from '@/components/password-input'
|
|
|
|
|
|
const formSchema = z.object({
|
|
|
email: z.email({
|
|
|
- error: (iss) => (iss.input === '' ? 'Please enter your email' : undefined),
|
|
|
+ error: (iss) => (iss.input === '' ? 'Please enter your email.' : undefined),
|
|
|
}),
|
|
|
password: z
|
|
|
.string()
|
|
|
- .min(1, 'Please enter your password')
|
|
|
- .min(7, 'Password must be at least 7 characters long'),
|
|
|
+ .min(1, 'Please enter your password.')
|
|
|
+ .min(7, 'Password must be at least 7 characters long.'),
|
|
|
})
|
|
|
|
|
|
interface UserAuthFormProps extends React.HTMLAttributes<HTMLFormElement> {
|
|
|
@@ -113,7 +113,7 @@ export function UserAuthForm({
|
|
|
<FormMessage />
|
|
|
<Link
|
|
|
to='/forgot-password'
|
|
|
- className='absolute end-0 -top-0.5 text-sm font-medium text-muted-foreground hover:opacity-75'
|
|
|
+ className='absolute inset-e-0 -top-0.5 text-sm font-medium text-muted-foreground hover:opacity-75'
|
|
|
>
|
|
|
Forgot password?
|
|
|
</Link>
|