8000 [mailer] reset $code variable each iteration for prevent wrong codes … · symfony/symfony@ce4bc8c · GitHub
[go: up one dir, main page]

Skip to content

Commit ce4bc8c

Browse files
committed
[mailer] reset $code variable each iteration for prevent wrong codes to be used
1 parent 29f427f commit ce4bc8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Mailer/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)
0