Files
Media.JoshHeaps.Net/Media.JoshHeaps.Net/Pages/VerificationPending.cshtml.cs
T
2025-10-07 14:24:23 -06:00

21 lines
443 B
C#

using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Media.JoshHeaps.Net.Pages;
public class VerificationPendingModel : PageModel
{
public string Email { get; set; } = string.Empty;
public IActionResult OnGet([FromQuery] string? email)
{
if (string.IsNullOrEmpty(email))
{
return Redirect("/Register");
}
Email = email;
return Page();
}
}