From 41f68bd2fcab3c34bcd15d2711f070cf28f87051 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Mon, 10 Jul 2023 19:53:45 -0400 Subject: [PATCH] Incorporate PR feedback --- src/shared/components/common/password-input.tsx | 4 ++-- src/shared/components/home/login.tsx | 2 +- src/shared/components/home/setup.tsx | 4 ++-- src/shared/components/home/signup.tsx | 4 ++-- src/shared/components/person/password-change.tsx | 4 ++-- src/shared/components/person/settings.tsx | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/shared/components/common/password-input.tsx b/src/shared/components/common/password-input.tsx index 4e24d598..b6ab6e5d 100644 --- a/src/shared/components/common/password-input.tsx +++ b/src/shared/components/common/password-input.tsx @@ -12,7 +12,7 @@ interface PasswordInputProps { onInput: FormEventHandler; className?: string; showStrength?: boolean; - label?: string; + label?: string | null; showForgotLink?: boolean; } @@ -96,7 +96,7 @@ class PasswordInput extends Component { value={value} required maxLength={60} - minLength={showStrength ? 10 : 0} + minLength={10} />