Skip to content

Commit d89611a

Browse files
committed
[mailer] reset $code variable each iteration for prevent wrong codes to be used
1 parent 49e9d2c commit d89611a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Transport/Smtp/EsmtpTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ private function handleAuth(array $modes): void
193193
continue;
194194
}
195195

196+
$code = null;
196197
$authNames[] = $authenticator->getAuthKeyword();
197198
try {
198199
$authenticator->authenticate($this);

0 commit comments

Comments
 (0)