mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-07 22:23:15 +00:00
Adding Subscriber Signup.
This commit is contained in:
@@ -548,15 +548,12 @@ namespace OpenWifi {
|
||||
|
||||
case SIGNUP_VERIFICATION: {
|
||||
MessageAttributes Attrs;
|
||||
std::cout << "Signup verification " << __LINE__ << std::endl;
|
||||
Attrs[RECIPIENT_EMAIL] = UInfo.email;
|
||||
Attrs[LOGO] = GetLogoAssetURI();
|
||||
Attrs[SUBJECT] = "EMail Address Verification";
|
||||
Attrs[ACTION_LINK] = MicroService::instance().GetPublicAPIEndPoint() + "/actionLink?action=signup_verification&id=" + LinkId ;
|
||||
std::cout << "Signup verification " << __LINE__ << std::endl;
|
||||
SMTPMailerService()->SendMessage(UInfo.email, "signup_verification.txt", Attrs);
|
||||
UInfo.waitingForEmailCheck = true;
|
||||
std::cout << "Signup verification " << __LINE__ << std::endl;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user