diff --git a/app/login/page.tsx b/app/login/page.tsx index c6e1cd5..fe42c29 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -34,6 +34,7 @@ function LoginForm() { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); + const [showPassword, setShowPassword] = useState(false); const [staySignedIn, setStaySignedIn] = useState(true); const [totpToken, setTotpToken] = useState(""); const [requiresTwoFactor, setRequiresTwoFactor] = useState(false); @@ -155,12 +156,29 @@ function LoginForm() { -
+
setPassword(e.target.value)} - className="block w-full appearance-none rounded-lg border border-border bg-background/50 px-3 py-2 text-foreground placeholder-muted-foreground shadow-sm focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20 sm:text-sm transition-all" + className="block w-full appearance-none rounded-lg border border-border bg-background/50 px-3 py-2 pr-11 text-foreground placeholder-muted-foreground shadow-sm focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20 sm:text-sm transition-all" /> +