Browse Source

close #36

pull/126/head
butlerx 7 years ago
parent
commit
65c369d06c
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 6
      lib/command.mjs

6
lib/command.mjs

@ -16,7 +16,11 @@ export default (
'-o',
`PreferredAuthentications=${auth}`,
],
user: localhost(host) || user !== '' || user.includes('@'),
user:
localhost(host) ||
user !== '' ||
user.includes('@') ||
address(headers, user, host).includes('@'),
});
function address(headers, user, host) {

Loading…
Cancel
Save