Fix password input

Fixes #292
This commit is contained in:
Thomas Nordquist
2020-04-19 12:51:25 +02:00
parent ccdaaa6ce2
commit 14dac22732

View File

@@ -200,7 +200,7 @@ function updateConnection(state: ConnectionManagerState, action: UpdateConnectio
if (changeSet.password !== undefined) {
changeSet = {
changeSet,
username: changeSet.password === '' ? undefined : changeSet.password,
password: changeSet.password === '' ? undefined : changeSet.password,
}
}