Fix test and handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -152,7 +152,6 @@ export default class Register extends Vue {
|
||||
acc[error.details] = error.message;
|
||||
return acc;
|
||||
}, {});
|
||||
console.log(this.errors);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user