Skip to content

Commit

Permalink
Fix mail sender on native branch
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu committed Nov 4, 2024
1 parent d784838 commit 8a78b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/realmd/AuthSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "IO/Filesystem/FileSystem.h"
#include "ProxyProtocol/ProxyV2Reader.h"

#ifdef USE_SENDGRID
#ifdef ENABLE_MAILSENDER
#include "MailerService.h"
#include "SendgridMail.h"
#endif
Expand Down Expand Up @@ -698,7 +698,7 @@ void AuthSocket::_HandleLogonProof__PostRecv(std::shared_ptr<sAuthLogonProof_C c
return;
}

#ifdef USE_SENDGRID
#ifdef ENABLE_MAILSENDER
if (sConfig.GetBoolDefault("SendMail", false))
{
auto mail = std::make_unique<SendgridMail>
Expand Down

0 comments on commit 8a78b31

Please sign in to comment.