Skip to content

Commit 911ff7a

Browse files
committed
explicit conditional when checking auth method
1 parent edc9587 commit 911ff7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ export class SMTPConnection extends EventEmitter {
615615

616616
// List of authentication methods we support: from preferred to
617617
// less preferred methods.
618-
if (!method) {
618+
if (method === null) {
619619
const preferred = this.authentication
620620
let auth = ''
621621

0 commit comments

Comments
 (0)