show errors for recaptcha

This commit is contained in:
Čarodej
2022-05-09 10:33:39 +02:00
parent 2c933c65a7
commit e9824bb807
3 changed files with 30 additions and 11 deletions

View File

@@ -256,6 +256,12 @@ export default {
'Your New Password': error.response.data.errors['password'],
})
}
if (error.response.data.errors['reCaptcha']) {
events.$emit('alert:open', {
title: error.response.data.message,
})
}
}
})
.finally(() => {