Refinements to auth
This commit is contained in:
@@ -9,7 +9,7 @@ namespace WebApp.Authentication
|
||||
{
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public async Task<IActionResult> CookieLogin()
|
||||
public async Task<IActionResult> CookieLogin(string email, string password)
|
||||
{
|
||||
// Based on: https://www.codeproject.com/articles/Understanding-authentication-in-Blazor-and-ASP-NET
|
||||
// TODO: Fix this up
|
||||
|
||||
Reference in New Issue
Block a user