Browse Source

Fixes dashboard authentication challenge bug. (#1077)

master
Savorboard 2 years ago
parent
commit
9fc33d739a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP.Dashboard/CAP.BuilderExtension.cs

+ 1
- 1
src/DotNetCore.CAP.Dashboard/CAP.BuilderExtension.cs View File

@@ -130,7 +130,7 @@ namespace DotNetCore.CAP
if (isAuthenticated == false && options.UseChallengeOnAuth)
{
await context.ChallengeAsync(options.DefaultChallengeScheme);
await context.Response.CompleteAsync();
return false;
}



Loading…
Cancel
Save