Fixing ActionLinks

This commit is contained in:
stephb9959
2021-11-09 13:41:28 -08:00
parent c0ef77eb53
commit 7636568fb4
6 changed files with 6 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenWifi {
StorageService()->SentAction(i.id);
} else if (i.action==OpenWifi::SecurityObjects::LinkActions::VERIFY_EMAIL) {
if(AuthService::SendEmailToUser(i.id, i.userId, AuthService::EMAIL_VERIFICATION)) {
Logger_.information(Poco::format("Send password reset link to %s",i.userId));
Logger_.information(Poco::format("Send email verification link to %s",i.userId));
}
StorageService()->SentAction(i.id);
} else {