fix: visibility toggle for new password disabled on edit profile

This commit is contained in:
Michael Zetterberg
2024-10-16 12:05:08 +02:00
parent 6be0510927
commit c1a3b9ae8a
3 changed files with 26 additions and 14 deletions

View File

@@ -73,7 +73,9 @@ export default function FormContent() {
</Body>
</header>
<Input label={currentPassword} name="password" type="password" />
<NewPassword />
{/* visibilityToggleable set to false as feature is done for signup first */}
{/* likely we can remove the prop altogether once signup launches */}
<NewPassword visibilityToggleable={false} />
<Input
label={retypeNewPassword}
name="retypeNewPassword"