Formatting for new users
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user