From 9a06e8b3edbde7047d382d9e5db95dbd1810636a Mon Sep 17 00:00:00 2001 From: NFish Date: Wed, 4 Jun 2025 16:04:51 +0800 Subject: [PATCH] fix: centered login form --- web/app/(shareLayout)/webapp-signin/layout.tsx | 2 +- web/app/(shareLayout)/webapp-signin/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/(shareLayout)/webapp-signin/layout.tsx b/web/app/(shareLayout)/webapp-signin/layout.tsx index e1fd16d715..a03364d326 100644 --- a/web/app/(shareLayout)/webapp-signin/layout.tsx +++ b/web/app/(shareLayout)/webapp-signin/layout.tsx @@ -12,7 +12,7 @@ export default function SignInLayout({ children }: any) {
{/*
*/}
-
+
{children}
diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx index 8097d14a3f..c12fde38dd 100644 --- a/web/app/(shareLayout)/webapp-signin/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/page.tsx @@ -106,7 +106,7 @@ const WebSSOForm: FC = () => {
} if (webAppAccessMode && (webAppAccessMode === AccessMode.ORGANIZATION || webAppAccessMode === AccessMode.SPECIFIC_GROUPS_MEMBERS)) { - return
+ return
}