diff --git a/js/src/views/User/ResendConfirmation.vue b/js/src/views/User/ResendConfirmation.vue index 3dffee670..f13f122ed 100644 --- a/js/src/views/User/ResendConfirmation.vue +++ b/js/src/views/User/ResendConfirmation.vue @@ -3,16 +3,20 @@

{{ $t("Resend confirmation email") }}

+ + {{ errorMessage }} +
- + -

+

{{ $t("Send the confirmation email again") }} @@ -34,7 +38,7 @@ ) }} - + {{ $t("Please check your spam folder if you didn't receive the email.") }} @@ -65,6 +69,7 @@ const credentials = reactive({ const validationSent = ref(false); const error = ref(false); +const errorMessage = ref(); const { mutate: resendConfirmationEmail, @@ -79,6 +84,7 @@ resentConfirmationEmail(() => { resentConfirmationEmailError((err) => { console.error(err); error.value = true; + errorMessage.value = err.graphQLErrors[0].message; }); const resendConfirmationAction = async (e: Event): Promise => {