Skip to content

Commit

Permalink
Vue Demo: update deps, make passkeys zero weight in validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hieu-w committed Sep 2, 2024
1 parent fdd216d commit 39b001d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions examples/vue-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/vue-example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ const isValidForm = computed(() => {
const isValidMFASelection = computed(() => {
if (selectedMFAFactors.value?.length && !selectedMandatoryMFAFactors.value.length) return false;
if (selectedMandatoryMFAFactors.value.every((x) => x === MFA_FACTOR.DEVICE)) return false;
if (selectedMandatoryMFAFactors.value.every((x) => x === MFA_FACTOR.DEVICE || x === MFA_FACTOR.PASSKEYS )) return false;
return true;
});
Expand Down

0 comments on commit 39b001d

Please sign in to comment.