Skip to content

Commit

Permalink
Fix MAILSENDER on native
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu committed Nov 5, 2024
1 parent bc67512 commit 9ece52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realmd/AuthSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ void AuthSocket::_HandleLogonProof__PostRecv(std::shared_ptr<sAuthLogonProof_C c
mail->from(sConfig.GetStringDefault("MailFrom", ""));
mail->substitution("%username%", m_login);
mail->substitution("%unlock_pin%", std::to_string(pin));
mail->substitution("%originating_ip%", GetRemoteIpAddress());
mail->substitution("%originating_ip%", GetRemoteIpString());

MailerService::get_global_mailer()->send(std::move(mail),
[](SendgridMail::Result res)
Expand Down

0 comments on commit 9ece52c

Please sign in to comment.