Skip to content

Commit

Permalink
Merge branch 'dev/1.10.2' into enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon committed Oct 21, 2024
2 parents 02eff15 + 6f5c663 commit 940c0ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/Auth/AuthnDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p class="block-title">{{ titleMap[currBackend] }}</p>
<AuthItemStatus is-tag :metrics="authMetrics" />
<el-tag type="info" class="section-status">
{{ configData.mechanism }}
{{ getLabelByValue(configData.mechanism) }}
</el-tag>
</div>
</template>
Expand Down Expand Up @@ -162,6 +162,7 @@ import LdapConfig from './components/LdapConfig.vue'
import KerberosConfig from './components/KerberosConfig.vue'
import CInfoConfig from './components/CInfoConfig.vue'
import useProcessAuthData from '@/hooks/Auth/useProcessAuthData'
import { useAuthnMechanismType } from '@/hooks/Auth/useAuthnType'
export default defineComponent({
name: 'AuthnDetails',
Expand Down Expand Up @@ -235,6 +236,8 @@ export default defineComponent({
const { toggleAuthStatus } = useToggleAuthStatus()
const { getLabelByValue } = useAuthnMechanismType()
const setPassWordBasedFieldsDefaultValue = () => {
if (
configData.value.mechanism === 'password_based' &&
Expand Down Expand Up @@ -420,6 +423,7 @@ export default defineComponent({
currTab,
currImg,
titleMap,
getLabelByValue,
configData,
authMetrics,
authnDetailLock,
Expand Down

0 comments on commit 940c0ff

Please sign in to comment.