From 05cd15f7c61290adb9be4e4288f3cf4f6ae26b4c Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Fri, 24 Jan 2025 14:56:21 +0800 Subject: [PATCH] FIx logout problem --- .../EventHub.IdentityServer.csproj | 2 +- .../Pages/Account/LoggedOut.cshtml | 34 ++++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/EventHub.IdentityServer/EventHub.IdentityServer.csproj b/src/EventHub.IdentityServer/EventHub.IdentityServer.csproj index a686d69..2134161 100644 --- a/src/EventHub.IdentityServer/EventHub.IdentityServer.csproj +++ b/src/EventHub.IdentityServer/EventHub.IdentityServer.csproj @@ -48,7 +48,7 @@ - + diff --git a/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml index c088de1..f890a83 100644 --- a/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml +++ b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml @@ -1,4 +1,5 @@ -page "/Account/LoggedOut" +@page "/Account/LoggedOut" + @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization @using Volo.Abp.Account.Web.Pages.Account @@ -18,18 +19,19 @@ page "/Account/LoggedOut" @section styles { } - - - - @L["LoggedOutTitle"] - @L["LoggedOutText"] - @if (Model.PostLogoutRedirectUri != null) - { - @L["ReturnToText"] - } - @if (Model.SignOutIframeUrl != null) - { - - } - - \ No newline at end of file +
+ + + @L["LoggedOutTitle"] + @L["LoggedOutText"] + @if (Model.PostLogoutRedirectUri != null) + { + @L["ReturnToText"] + } + @if (Model.SignOutIframeUrl != null) + { + + } + + +
\ No newline at end of file