We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109d61d commit f796deaCopy full SHA for f796dea
src/client/containers/Modals/EditAccountModal.jsx
@@ -123,8 +123,8 @@ class EditAccountModal extends React.Component {
123
groups: !this.isAgentRole && this.groupSelect ? this.groupSelect.getSelected() : undefined,
124
teams: this.isAgentRole && this.teamsSelect ? this.teamsSelect.getSelected() : undefined,
125
role: this.selectedRole,
126
- password: this.password.length > 3 ? this.password : undefined,
127
- passwordConfirm: this.confirmPassword.length > 3 ? this.confirmPassword : undefined
+ password: this.password.length > 0 ? this.password : undefined,
+ passwordConfirm: this.confirmPassword.length > 0 ? this.confirmPassword : undefined
128
}
129
130
this.props.saveEditAccount(data)
0 commit comments