diff --git a/pages/recover/_code.vue b/pages/recover/_code.vue
index 254465b9..8845c5ed 100644
--- a/pages/recover/_code.vue
+++ b/pages/recover/_code.vue
@@ -1,24 +1,28 @@
v-container
- v-row.mt-5(align='center' justify='center')
- v-col(cols='12' md="6" lg="5" xl="4")
- v-card
- v-card-title {{$t('common.recover_password')}}
- template(v-if='user')
- v-card-subtitle {{user.email}}
- v-card-text
- v-text-field(type='password'
- :rules="$validators.password"
- autofocus :placeholder='$t("common.new_password")'
- v-model='new_password')
- div(v-else) {{$t('recover.not_valid_code')}}
+ v-form(@submit.prevent="change_password" v-model='valid')
+ v-row.mt-5(align='center' justify='center')
+ v-col(cols='12' md="6" lg="5" xl="4")
+ v-card
+ v-card-title {{$t('common.recover_password')}}
+ template(v-if='user')
+ v-card-subtitle {{user.email}}
+ v-card-text
+ v-text-field(type='password'
+ :rules="$validators.password"
+ autofocus :placeholder='$t("common.new_password")'
+ v-model='new_password')
+ template(v-else)
+ v-card-text
+ v-alert(type='error' :icon='mdiAlert') {{$t('recover.not_valid_code')}}
{{ error }}
- v-card-actions
- v-spacer
- v-btn(v-if='user' text color='primary' @click='change_password') {{$t('common.send')}}
+ v-card-actions
+ v-spacer
+ v-btn(v-if='user' outlined color='primary' type='submit' :disabled='!valid') {{$t('common.send')}}