Adding Subscriber Signup.

This commit is contained in:
stephb9959
2022-02-22 22:02:41 -08:00
parent 6c5863d96a
commit 151bcc9406
8 changed files with 21 additions and 56 deletions

View File

@@ -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;