Stop trimming SASL and server passwords
This commit is contained in:
parent
e0ca9d5d8c
commit
45f8795fad
File diff suppressed because one or more lines are too long
@ -60,7 +60,7 @@ class Connect extends Component {
|
|||||||
<div className="connect-section">
|
<div className="connect-section">
|
||||||
<h2>SASL</h2>
|
<h2>SASL</h2>
|
||||||
<TextInput name="account" />
|
<TextInput name="account" />
|
||||||
<TextInput name="password" type="password" />
|
<TextInput name="password" type="password" noTrim />
|
||||||
</div>
|
</div>
|
||||||
{!hexIP && <TextInput name="username" />}
|
{!hexIP && <TextInput name="username" />}
|
||||||
<TextInput
|
<TextInput
|
||||||
@ -231,8 +231,6 @@ export default withFormik({
|
|||||||
const channels = values.channels ? values.channels.split(',') : [];
|
const channels = values.channels ? values.channels.split(',') : [];
|
||||||
delete values.channels;
|
delete values.channels;
|
||||||
|
|
||||||
values.serverPassword = values.serverPassword.trim();
|
|
||||||
|
|
||||||
values.port = `${values.port}`;
|
values.port = `${values.port}`;
|
||||||
connect(values);
|
connect(values);
|
||||||
select(values.host);
|
select(values.host);
|
||||||
|
Loading…
Reference in New Issue
Block a user