Add ASP.NET Identity.

This commit is contained in:
2019-11-07 00:25:43 +00:00
parent 84415fcf05
commit 63d04a6e97
26 changed files with 5978 additions and 13 deletions

View File

@@ -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");
}
}