Skip to content

Commit 8d1eb1a

Browse files
committed
fix null ref
1 parent e8eaaf7 commit 8d1eb1a

File tree

1 file changed

+3
-3
lines changed
  • samples/RemoteAuth/Forms/FormsAuthCore/Views/Shared

1 file changed

+3
-3
lines changed

samples/RemoteAuth/Forms/FormsAuthCore/Views/Shared/Error.cshtml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
@model ErrorViewModel
1+
@model ErrorViewModel
22
@{
33
ViewData["Title"] = "Error";
44
}
55

66
<h1 class="text-danger">Error.</h1>
77
<h2 class="text-danger">An error occurred while processing your request.</h2>
88

9-
@if (Model.ShowRequestId)
9+
@if (Model!.ShowRequestId)
1010
{
1111
<p>
12-
<strong>Request ID:</strong> <code>@Model.RequestId</code>
12+
<strong>Request ID:</strong> <code>@Model!.RequestId</code>
1313
</p>
1414
}
1515

0 commit comments

Comments
 (0)