A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix(auth): normalize autocomplete tokens for login and register (#2714)
Yeung2d1e13b9b5d2
diff --git a/src/routes/auth/login.tsx b/src/routes/auth/login.tsxindex b19e5f060..187642a90 100644--- a/src/routes/auth/login.tsx+++ b/src/routes/auth/login.tsx@@ -113,7 +113,12 @@ function RouteComponent() {<Trans>Email Address</Trans></FormLabel><FormControl>- <Input autoComplete="email" placeholder="[email protected]" className="lowercase" {...field} />+ <Input+ autoComplete="section-login username"+ placeholder="[email protected]"+ className="lowercase"+ {...field}+ /></FormControl><FormMessage /><FormDescription>@@ -145,7 +150,7 @@ function RouteComponent() {min={6}max={64}type={showPassword ? "text" : "password"}- autoComplete="current-password"+ autoComplete="section-login current-password"{...field}/></FormControl>diff --git a/src/routes/auth/register.tsx b/src/routes/auth/register.tsxindex 5e366ed75..a8a032b50 100644--- a/src/routes/auth/register.tsx+++ b/src/routes/auth/register.tsx@@ -110,7 +110,7 @@ function RouteComponent() {<Trans>Name</Trans></FormLabel><FormControl>- <Input min={3} max={64} autoComplete="name" placeholder="John Doe" {...field} />+ <Input min={3} max={64} autoComplete="section-register name" placeholder="John Doe" {...field} /></FormControl><FormMessage /></FormItem>@@ -129,7 +129,7 @@ function RouteComponent() {<Inputmin={3}max={64}- autoComplete="username"+ autoComplete="section-register username"placeholder="john.doe"className="lowercase"{...field}@@ -151,7 +151,7 @@ function RouteComponent() {<FormControl><Inputtype="email"- autoComplete="email"+ autoComplete="section-register email"placeholder="[email protected]"className="lowercase"{...field}@@ -176,7 +176,7 @@ function RouteComponent() {min={6}max={64}type={showPassword ? "text" : "password"}- autoComplete="new-password"+ autoComplete="section-register new-password"{...field}/></FormControl>