Files
Aaru.Server/Aaru.Server/Areas/Identity/Pages/Account/Register.cshtml.cs
2020-07-22 15:26:02 +01:00

14 lines
443 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Aaru.Server.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public sealed class RegisterModel : PageModel
{
public IActionResult OnGetAsync(string returnUrl = null) => RedirectToPage("Login");
public IActionResult OnPostAsync(string returnUrl = null) => RedirectToPage("Login");
}
}