Skip to content

Commit

Permalink
Update Identity+WASM sample app (dotnet#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Dec 5, 2023
1 parent a0626bf commit 0ecc2bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Security.Claims;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;

var builder = WebApplication.CreateBuilder(args);
Expand Down Expand Up @@ -43,7 +43,7 @@

// provide an end point to clear the cookie for logout
app.MapPost("/logout", async (
SignInManager<MyUser> signInManager,
SignInManager<AppUser> signInManager,
[FromBody]object empty) =>
{
if (empty is not null)
Expand Down

0 comments on commit 0ecc2bc

Please sign in to comment.