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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy