diff --git a/apps/web/components/settings.tsx b/apps/web/components/settings.tsx index fb2bf49c4..9e958d82b 100644 --- a/apps/web/components/settings.tsx +++ b/apps/web/components/settings.tsx @@ -23,7 +23,7 @@ const subNavigation = [ href: "/settings/password", icon: KeyIcon, current: false, - } + }, ]; if (process.env.NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS === "true") { @@ -60,6 +60,7 @@ export default function Setttings() { }); const [savingTimeout, setSavingTimeout] = useState(); + const [password, setPassword] = useState(""); function handleNameChange(e: ChangeEvent): void { let u = { ...user }; u.name = e.target.value; @@ -177,16 +178,40 @@ export default function Setttings() { {/* Passwords section */}
-

Password

-

- Forgot your passwort? Email hi@documenso.com to reset it. -

+

Update Password

+ +
+
+ + + setPassword(e.target.value)} + className="focus:border-neon focus:ring-neon mt-1 block w-full rounded-md border border-gray-300 py-2 px-3 shadow-sm focus:outline-none sm:text-sm" + /> +
+
+