diff --git a/pkg/views/src/components/auth/FactorApplicator.vue b/pkg/views/src/components/auth/FactorApplicator.vue index 4571c5a..6a332da 100644 --- a/pkg/views/src/components/auth/FactorApplicator.vue +++ b/pkg/views/src/components/auth/FactorApplicator.vue @@ -77,6 +77,7 @@ async function submit() { emits("swap", "pick") emits("update:challenge", data["challenge"]) error.value = null + password.value = "" } } } diff --git a/pkg/views/src/components/auth/FactorPicker.vue b/pkg/views/src/components/auth/FactorPicker.vue index 730a5c5..b107398 100644 --- a/pkg/views/src/components/auth/FactorPicker.vue +++ b/pkg/views/src/components/auth/FactorPicker.vue @@ -54,6 +54,7 @@ async function submit() { emits("update:currentFactor", item) emits("swap", "applicator") error.value = null + focus.value = null } emits("update:loading", false) }