diff --git a/frontend/src/components/PhoneSetupAssistant.vue b/frontend/src/components/PhoneSetupAssistant.vue index 26d22b8..3a7bed3 100644 --- a/frontend/src/components/PhoneSetupAssistant.vue +++ b/frontend/src/components/PhoneSetupAssistant.vue @@ -156,6 +156,7 @@ async function submitAccount(): Promise { } function selectAccountMode(mode: 'login' | 'register'): void { + if (accountMode.value === mode) return accountMode.value = mode password.value = '' passwordConfirm.value = '' @@ -241,16 +242,16 @@ function finish(): void {