Skip to content

Commit

Permalink
fix: wrap complex template conditionals in parens to fix evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Sep 11, 2024
1 parent c39c05c commit 95277e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

app.MapCoalesceSecurityOverview("coalesce-security");

#if !Identity
#if (!Identity)
// TODO: Dummy authentication for initial development.
// Replace this with a proper authentication scheme like
// Windows Authentication, or an OIDC provider, or something else.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
>create a migration with Entity Framework</a
>.

<!--#if !Identity -->
<!--#if (!Identity) -->
<h2 class="mt-5">3. Add Authentication</h2>
<strong> Implement a proper authentication mechanism</strong> in
Program.cs and remove the existing dummy authentication. If you want
Expand Down

0 comments on commit 95277e1

Please sign in to comment.