Fixed issue with password field not being cleared after canceling out of changing your password

Этот коммит содержится в:
Reed Garmsen
2015-07-31 15:01:07 -07:00
родитель ea51edf0c4
Коммит 32498a1a64

Просмотреть файл

@@ -589,7 +589,7 @@ var SecurityTab = React.createClass({
submit={submit}
server_error={server_error}
client_error={password_error}
updateSection={function(e){self.props.updateSection("");e.preventDefault();}}
updateSection={function(e){self.props.updateSection("");self.setState({current_password: '', new_password: '', confirm_password: '', server_error: null, password_error: null});e.preventDefault();}}
/>
);
} else {