diff --git a/src/Identity/UI/src/Areas/Identity/Pages/V3/Account/Logout.cshtml b/src/Identity/UI/src/Areas/Identity/Pages/V3/Account/Logout.cshtml index 8e57434001..234123aa83 100644 --- a/src/Identity/UI/src/Areas/Identity/Pages/V3/Account/Logout.cshtml +++ b/src/Identity/UI/src/Areas/Identity/Pages/V3/Account/Logout.cshtml @@ -6,5 +6,16 @@

@ViewData["Title"]

-

You have successfully logged out of the application.

+ @{ + if (User.Identity.IsAuthenticated) + { +
+ +
+ } + else + { +

You have successfully logged out of the application.

+ } + }
diff --git a/src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Logout.cshtml b/src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Logout.cshtml index 8e57434001..234123aa83 100644 --- a/src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Logout.cshtml +++ b/src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Logout.cshtml @@ -6,5 +6,16 @@

@ViewData["Title"]

-

You have successfully logged out of the application.

+ @{ + if (User.Identity.IsAuthenticated) + { +
+ +
+ } + else + { +

You have successfully logged out of the application.

+ } + }