1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 09:21:54 +00:00

change check password strength style (#6719)

* 03 confirm password not check

Confirm password input don't check password strength

* change change password error style

* 02 change password check event and no password state

* 01 change arrow style and format css
This commit is contained in:
Michael An
2024-09-06 17:39:13 +08:00
committed by GitHub
parent c90850a536
commit 5257d3a05d
10 changed files with 1971 additions and 1151 deletions

View File

@@ -65,6 +65,8 @@ const PasswordInput = ({ value, labelValue, enableCheckStrength, onChangeValue }
PasswordInput.propTypes = propTypes;
PasswordInput.defaultProps = { enableCheckStrength: true };
PasswordInput.defaultProps = {
enableCheckStrength: true
};
export default PasswordInput;

View File

@@ -62,6 +62,7 @@ const UserSetPassword = ({ toggle }) => {
value={confirmedPassword}
labelValue={gettext('Confirm password')}
onChangeValue={setConfirmedPassword}
enableCheckStrength={false}
/>
</Form>
{errorMessage && (

View File

@@ -74,6 +74,7 @@ const UserUpdatePassword = ({ toggle }) => {
value={confirmedNewPassword}
labelValue={gettext('Confirm password')}
onChangeValue={setConfirmedNewPassword}
enableCheckStrength={false}
/>
</Form>
{errorMessage && (