Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(component): sign up password max length notify (#6467)

EYHN939fa9cef0a0
diff --git a/packages/frontend/component/src/components/auth-components/password-input/index.tsx b/packages/frontend/component/src/components/auth-components/password-input/index.tsx
index ff8567fb24..f16063dc83 100644
--- a/packages/frontend/component/src/components/auth-components/password-input/index.tsx
+++ b/packages/frontend/component/src/components/auth-components/password-input/index.tsx
@@ -151,8 +151,6 @@ export const PasswordInput: FC<
className={styles.input}
type="password"
size="extraLarge"
- minLength={passwordLimits.minLength}
- maxLength={passwordLimits.maxLength}
style={{ marginBottom: 20 }}
placeholder={t['com.affine.auth.set.password.placeholder']({
min: String(passwordLimits.minLength),
@@ -180,8 +178,6 @@ export const PasswordInput: FC<
className={styles.input}
type="password"
size="extraLarge"
- minLength={passwordLimits.minLength}
- maxLength={passwordLimits.maxLength}
placeholder={t['com.affine.auth.set.password.placeholder.confirm']()}
onChange={onConfirmPasswordChange}
endFix={