From ed0d6fcc98f671280c2ccde797b50693da88152e Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Thu, 24 Jul 2025 10:32:34 +0000 Subject: (김준회) knox 임직원, 조직도, 직급 동기화 로직 수정 (delete & insert) 및 시간당 호출제한 반영, SSO 운영 변경 대응 (버튼 텍스트에 Stage 인 경우에만 Stage 표시), 부서 트리뷰에서 '하위' 뱃지 제거 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/login/saml-login-button.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/login/saml-login-button.tsx') diff --git a/components/login/saml-login-button.tsx b/components/login/saml-login-button.tsx index 02825e2f..b92015fd 100644 --- a/components/login/saml-login-button.tsx +++ b/components/login/saml-login-button.tsx @@ -20,6 +20,8 @@ interface SAMLLoginButtonProps { size?: 'default' | 'sm' | 'lg' | 'icon' } +const isSsoStage = process.env.SAML_IDP_SSO_URL?.includes('stage'); + export function SAMLLoginButton({ className, children = "Knox SSO로 로그인하기", @@ -115,7 +117,7 @@ export function KnoxSSOButton() { className="w-full" variant="outline" > - Knox SSO (STAGE 단계) + {isSsoStage ? 'Knox SSO (STAGE)' : 'Knox SSO'} ) } -- cgit v1.2.3