Formatting for new users

This commit is contained in:
2020-08-18 21:06:08 -04:00
parent 9f654822f8
commit e9211c6ace
6 changed files with 37 additions and 11 deletions
+3 -2
View File
@@ -21,8 +21,7 @@ namespace LeafWeb.WebCms.Controllers
if (member == null)
{
TempData["StatusMessage"] = $"Sorry, verification was not found. Please try to register again, or use Contact Us to resolve the issue.";
TempData["StatusMessage"] = "Sorry, verification was not found. Please try to register again, or use Contact Us to resolve the issue.";
TempData["StatusMessage-Type"] = "alert-danger";
}
else if (member.IsApproved)
@@ -57,6 +56,8 @@ namespace LeafWeb.WebCms.Controllers
$"Thank you! Your email is now verified at {member.Email}, use your password to login.";
TempData["StatusMessage-Type"] = "alert-success";
logger.InfoFormat($"User {member.Email} verified.");
redirectUrl = "membership/login";
}
}