diff --git a/components/views/user/create/Create.vue b/components/views/user/create/Create.vue
index 02c018aa9f..e5e1c63a6b 100644
--- a/components/views/user/create/Create.vue
+++ b/components/views/user/create/Create.vue
@@ -169,6 +169,7 @@ export default Vue.extend({
* @example this.onConfirm()
*/
confirm(e: Event) {
+ e.preventDefault()
if (this.isLoading) {
return
}
@@ -179,8 +180,6 @@ export default Vue.extend({
}) as string
return
}
- e.preventDefault()
-
this.error = ''
this.$emit('confirm', {