diff --git a/src/views/mobile/Login.vue b/src/views/mobile/Login.vue
index b569d957..89970895 100644
--- a/src/views/mobile/Login.vue
+++ b/src/views/mobile/Login.vue
@@ -66,7 +66,7 @@
{{ $t('Two-Factor Authentication') }}
-
+
@@ -240,6 +242,10 @@ export default {
const self = this;
const router = self.$f7router;
+ if (self.twoFAInputIsEmpty || self.verifying) {
+ return;
+ }
+
if (this.twoFAVerifyType === 'passcode' && !this.passcode) {
self.$alert('Passcode cannot be empty');
return;