Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Add placeholders for password inputs (#113)

Hakan Shehu583bebeae9a8
diff --git a/packages/ui/src/components/accounts/email-login.tsx b/packages/ui/src/components/accounts/email-login.tsx
index 5c0a13f8..dda3b279 100644
--- a/packages/ui/src/components/accounts/email-login.tsx
+++ b/packages/ui/src/components/accounts/email-login.tsx
@@ -103,6 +103,7 @@ export const EmailLogin = ({
type="password"
{...field}
autoComplete="current-password"
+ placeholder="********"
/>
</FormControl>
<FormMessage />
diff --git a/packages/ui/src/components/accounts/email-password-reset-complete.tsx b/packages/ui/src/components/accounts/email-password-reset-complete.tsx
index b3a4f036..d5450878 100644
--- a/packages/ui/src/components/accounts/email-password-reset-complete.tsx
+++ b/packages/ui/src/components/accounts/email-password-reset-complete.tsx
@@ -113,7 +113,12 @@ export const EmailPasswordResetComplete = ({
<FormItem>
<Label htmlFor="password">New Password</Label>
<FormControl>
- <Input type="password" {...field} autoComplete="new-password" />
+ <Input
+ type="password"
+ {...field}
+ autoComplete="new-password"
+ placeholder="********"
+ />
</FormControl>
<FormMessage />
</FormItem>
@@ -126,7 +131,12 @@ export const EmailPasswordResetComplete = ({
<FormItem>
<Label htmlFor="confirmPassword">Confirm New Password</Label>
<FormControl>
- <Input type="password" {...field} autoComplete="new-password" />
+ <Input
+ type="password"
+ {...field}
+ autoComplete="new-password"
+ placeholder="********"
+ />
</FormControl>
<FormMessage />
</FormItem>
diff --git a/packages/ui/src/components/accounts/email-register.tsx b/packages/ui/src/components/accounts/email-register.tsx
index 6be6ebaf..46949f3c 100644
--- a/packages/ui/src/components/accounts/email-register.tsx
+++ b/packages/ui/src/components/accounts/email-register.tsx
@@ -117,7 +117,12 @@ export const EmailRegister = ({ onSuccess, onLogin }: EmailRegisterProps) => {
<FormItem>
<Label htmlFor="password">Password</Label>
<FormControl>
- <Input type="password" {...field} autoComplete="new-password" />
+ <Input
+ type="password"
+ {...field}
+ autoComplete="new-password"
+ placeholder="********"
+ />
</FormControl>
<FormMessage />
</FormItem>