mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add ASP.NET Identity.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace DiscImageChef.Server.Areas.Identity.Pages.Account
|
||||
{
|
||||
[AllowAnonymous]
|
||||
public class RegisterModel : PageModel
|
||||
{
|
||||
public IActionResult OnGetAsync(string returnUrl = null) => RedirectToPage("Login");
|
||||
|
||||
public IActionResult OnPostAsync(string returnUrl = null) => RedirectToPage("Login");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user