Skip to content

Commit

Permalink
comment unsed code.
Browse files Browse the repository at this point in the history
  • Loading branch information
omid-ahmadpour committed Apr 7, 2023
1 parent 795ec83 commit fdb09bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Web/Api/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public static void AddJwtAuthentication(this IServiceCollection services, JwtSet
},
OnTokenValidated = async context =>
{
var signInManager = context.HttpContext.RequestServices.GetRequiredService<SignInManager<User>>();
//var signInManager = context.HttpContext.RequestServices.GetRequiredService<SignInManager<User>>();
var userRepository = context.HttpContext.RequestServices.GetRequiredService<IUserRepository>();
var claimsIdentity = context.Principal.Identity as ClaimsIdentity;
Expand Down

0 comments on commit fdb09bb

Please sign in to comment.