Fix MakerWorld 2FA duplicate email loop and add email SMTP diagnostics
This commit is contained in:
@@ -111,14 +111,12 @@ class MakerWorldService
|
||||
];
|
||||
}
|
||||
|
||||
// Check if 2FA code is needed
|
||||
// Check if 2FA code is needed (Bambu Lab sends the code automatically when verifyCode is returned)
|
||||
if (isset($data['loginType']) && $data['loginType'] === 'verifyCode') {
|
||||
$this->sendEmailVerificationCode($account);
|
||||
|
||||
return [
|
||||
'status' => '2fa_required',
|
||||
'account' => $account,
|
||||
'message' => 'Verificatiecode vereist. We hebben een 6-cijferige code naar je e-mail gestuurd.',
|
||||
'message' => 'Verificatiecode vereist. Bambu Lab heeft een 6-cijferige verificatiecode naar je e-mail gestuurd.',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user