diff --git a/src/ui/src/components/ui/auth/auth.vue b/src/ui/src/components/ui/auth/auth.vue index 119a8d8a63..2f616adfcc 100644 --- a/src/ui/src/components/ui/auth/auth.vue +++ b/src/ui/src/components/ui/auth/auth.vue @@ -35,7 +35,7 @@ authMetas: null, isAuthorized: false, disabled: true, - useIAM: window.CMDB_CONFIG?.site?.authscheme === 'iam' + useIAM: this.$Site.authscheme === 'iam' } }, watch: {