Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update reset-password-form.tsx

Steven Teye08b9cdf162c
diff --git a/apps/web/ui/auth/reset-password-form.tsx b/apps/web/ui/auth/reset-password-form.tsx
index c32589c9f0..8ed2cc796f 100644
--- a/apps/web/ui/auth/reset-password-form.tsx
+++ b/apps/web/ui/auth/reset-password-form.tsx
@@ -48,7 +48,12 @@ export const ResetPasswordForm = () => {
<div className="grid w-full max-w-sm items-center gap-2">
<Label htmlFor="password">Password</Label>
- <Input type="password" {...register("password")} required />
+ <Input
+ type="password"
+ {...register("password")}
+ required
+ autoComplete="new-password"
+ />
{errors.password && (
<span
className="block text-sm text-red-500"
@@ -62,7 +67,12 @@ export const ResetPasswordForm = () => {
<div className="grid w-full max-w-sm items-center gap-2">
<Label htmlFor="confirmPassword">Confirm Password</Label>
- <Input type="password" {...register("confirmPassword")} required />
+ <Input
+ type="password"
+ {...register("confirmPassword")}
+ required
+ autoComplete="new-password"
+ />
{errors.confirmPassword && (
<span
className="block text-sm text-red-500"