Skip to content

Commit

Permalink
don't allow SSO reset from UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Nov 1, 2024
1 parent 237b097 commit ec5ef65
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/AdminManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
v-close-popup
@click="ResetPassword(props.row)"
id="context-reset"
:disable="localLogonDisabled"
:disable="props.row.social_accounts.length !== 0"
>
<q-item-section side>
<q-icon name="autorenew" />
Expand All @@ -111,7 +111,7 @@
v-close-popup
@click="reset2FA(props.row)"
id="context-reset"
:disable="localLogonDisabled"
:disable="props.row.social_accounts.length !== 0"
>
<q-item-section side>
<q-icon name="autorenew" />
Expand Down Expand Up @@ -205,9 +205,6 @@ export default {
// setup vuex
const store = useStore();
const formatDate = computed(() => store.getters.formatDate);
const localLogonDisabled = computed(
() => store.state.block_local_user_logon,
);
const $q = useQuasar();
Expand All @@ -230,7 +227,6 @@ export default {
}
return {
localLogonDisabled,
formatDate,
showSSOAccounts,
showSessions,
Expand Down

0 comments on commit ec5ef65

Please sign in to comment.