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:
@@ -65,6 +65,8 @@ const PasswordInput = ({ value, labelValue, enableCheckStrength, onChangeValue }
|
||||
|
||||
PasswordInput.propTypes = propTypes;
|
||||
|
||||
PasswordInput.defaultProps = { enableCheckStrength: true };
|
||||
PasswordInput.defaultProps = {
|
||||
enableCheckStrength: true
|
||||
};
|
||||
|
||||
export default PasswordInput;
|
||||
|
@@ -62,6 +62,7 @@ const UserSetPassword = ({ toggle }) => {
|
||||
value={confirmedPassword}
|
||||
labelValue={gettext('Confirm password')}
|
||||
onChangeValue={setConfirmedPassword}
|
||||
enableCheckStrength={false}
|
||||
/>
|
||||
</Form>
|
||||
{errorMessage && (
|
||||
|
@@ -74,6 +74,7 @@ const UserUpdatePassword = ({ toggle }) => {
|
||||
value={confirmedNewPassword}
|
||||
labelValue={gettext('Confirm password')}
|
||||
onChangeValue={setConfirmedNewPassword}
|
||||
enableCheckStrength={false}
|
||||
/>
|
||||
</Form>
|
||||
{errorMessage && (
|
||||
|
Reference in New Issue
Block a user