diff --git a/kolibri/core/assets/src/views/userAccounts/PasswordTextbox.vue b/kolibri/core/assets/src/views/userAccounts/PasswordTextbox.vue index 082a1631b0a..f2b9404b60e 100644 --- a/kolibri/core/assets/src/views/userAccounts/PasswordTextbox.vue +++ b/kolibri/core/assets/src/views/userAccounts/PasswordTextbox.vue @@ -122,14 +122,12 @@ this.$refs.password.focus(); }, checkErrorsAndSubmit(e) { - if (e.key === 'Enter') { - if (this.valid) { - this.$emit('submitNewPassword'); - } else { - // Blurring will cause validation errors to show if needed - this.confirmationBlurred = true; - e.preventDefault(); // Prevent the default form submission - } + if (this.valid) { + this.$emit('submitNewPassword'); + } else { + // Blurring will cause validation errors to show if needed + this.confirmationBlurred = true; + e.preventDefault(); // Prevent the default form submission } }, },