mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 19:27:59 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -123,12 +123,8 @@ namespace OpenWifi {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case OpenWifi::SecurityObjects::LinkActions::SUB_FORGOT_PASSWORD: {
|
case OpenWifi::SecurityObjects::LinkActions::SUB_FORGOT_PASSWORD: {
|
||||||
DBGLINE
|
|
||||||
auto Signup = Poco::StringTokenizer(UInfo.signingUp, ":");
|
|
||||||
DBGLINE
|
|
||||||
if (AuthService()->SendEmailToSubUser(i.id, UInfo.email,
|
if (AuthService()->SendEmailToSubUser(i.id, UInfo.email,
|
||||||
MessagingTemplates::SUB_FORGOT_PASSWORD,
|
MessagingTemplates::SUB_FORGOT_PASSWORD,"")) {
|
||||||
Signup.count() == 1 ? "" : Signup[0])) {
|
|
||||||
DBGLINE
|
DBGLINE
|
||||||
poco_information(
|
poco_information(
|
||||||
Logger(),
|
Logger(),
|
||||||
@@ -140,12 +136,8 @@ namespace OpenWifi {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case OpenWifi::SecurityObjects::LinkActions::SUB_VERIFY_EMAIL: {
|
case OpenWifi::SecurityObjects::LinkActions::SUB_VERIFY_EMAIL: {
|
||||||
DBGLINE
|
|
||||||
auto Signup = Poco::StringTokenizer(UInfo.signingUp, ":");
|
|
||||||
DBGLINE
|
|
||||||
if (AuthService()->SendEmailToSubUser(
|
if (AuthService()->SendEmailToSubUser(
|
||||||
i.id, UInfo.email, MessagingTemplates::SUB_EMAIL_VERIFICATION,
|
i.id, UInfo.email, MessagingTemplates::SUB_EMAIL_VERIFICATION,"")) {
|
||||||
Signup.count() == 1 ? "" : Signup[0])) {
|
|
||||||
DBGLINE
|
DBGLINE
|
||||||
poco_information(
|
poco_information(
|
||||||
Logger(), fmt::format("Send subscriber email verification link to {}",
|
Logger(), fmt::format("Send subscriber email verification link to {}",
|
||||||
|
|||||||
Reference in New Issue
Block a user