diff options
| author | joonhoekim <26rote@gmail.com> | 2025-07-24 10:32:34 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-07-24 10:32:34 +0000 |
| commit | ed0d6fcc98f671280c2ccde797b50693da88152e (patch) | |
| tree | 6ea4bc8b13546fbd9de949a378fd2efb22c9cbdd /components | |
| parent | a50bc9baea332f996e6bc3a5d70c69f6d2d0f194 (diff) | |
(김준회) knox 임직원, 조직도, 직급 동기화 로직 수정 (delete & insert) 및 시간당 호출제한 반영, SSO 운영 변경 대응 (버튼 텍스트에 Stage 인 경우에만 Stage 표시), 부서 트리뷰에서 '하위' 뱃지 제거
Diffstat (limited to 'components')
| -rw-r--r-- | components/login/saml-login-button.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
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'} </SAMLLoginButton> ) } |
