Skip to content

Commit

Permalink
Don't explicitly fail auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Jul 16, 2024
1 parent 8d823f6 commit bea282e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ UserTypeRequirement requirement
{
context.Succeed(requirement);
}
else
{
context.Fail();
}
}, badCredentials => context.Fail(new(this, "Bad Credentials")), notFound => context.Fail(new(this, "User Not Found")));
}

Expand Down

0 comments on commit bea282e

Please sign in to comment.