Fix test and handle errors better

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-13 17:03:48 +02:00
parent 3e4bd76f29
commit 14369e61e9
8 changed files with 42 additions and 11 deletions

View File

@@ -152,7 +152,6 @@ export default class Register extends Vue {
acc[error.details] = error.message;
return acc;
}, {});
console.log(this.errors);
}
}
}

View File

@@ -10,7 +10,7 @@
<b-input aria-required="true" required type="email" v-model="credentials.email"/>
</b-field>
<p class="control has-text-centered">
<b-button type="is-primary">
<b-button type="is-primary" native-type="submit">
{{ $t('Send me the confirmation email once again') }}
</b-button>
</p>

View File

@@ -11,7 +11,7 @@
<b-input aria-required="true" required type="email" v-model="credentials.email"/>
</b-field>
<p class="control has-text-centered">
<b-button type="is-primary">
<b-button type="is-primary" native-type="submit">
{{ $t('Send me an email to reset my password') }}
</b-button>
</p>