feat: switch email delivery from Resend to SMTP with libcurl integration
This commit is contained in:
@@ -328,7 +328,7 @@ Json::Value AuthService::requestOtp(const Json::Value &body)
|
||||
email::EmailService mail;
|
||||
if (!mail.sendOtp(user[0]["email"].as<std::string>(), code))
|
||||
{
|
||||
LOG_WARN << "Could not queue OTP email through " << mail.deliveryName();
|
||||
LOG_WARN << "Could not send OTP email through " << mail.deliveryName();
|
||||
return failure("otp_email_failed");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user