diff --git a/web/src/pages/user-setting/setting-password/index.tsx b/web/src/pages/user-setting/setting-password/index.tsx
index f1b299ee6..cf7a4d64f 100644
--- a/web/src/pages/user-setting/setting-password/index.tsx
+++ b/web/src/pages/user-setting/setting-password/index.tsx
@@ -6,7 +6,6 @@ import SettingTitle from '../components/setting-title';
import { useValidateSubmittable } from '../hooks';
import { useTranslate } from '@/hooks/common-hooks';
-import parentStyles from '../index.less';
import styles from './index.less';
type FieldType = {
@@ -81,13 +80,11 @@ const UserSettingPassword = () => {
message: t('newPasswordMessage'),
whitespace: true,
},
+ { type: 'string', min: 8, message: t('newPasswordDescription') },
]}
>
- {t('newPasswordDescription')} -