diff --git a/frontend/src/views/Pages/Login.vue b/frontend/src/views/Pages/Login.vue index cd5f9fd88..d5d3e25a4 100755 --- a/frontend/src/views/Pages/Login.vue +++ b/frontend/src/views/Pages/Login.vue @@ -104,13 +104,13 @@ export default { this.$router.push('/overview') loader.hide() }) - .catch((/* error */) => { - // if (error.message.includes('No user with this credentials')) { - this.$toasted.global.error(this.$t('error.no-account')) - // } else { - // this.$t('error.no-email-verify') - // this.$router.push('/reset/login') - // } + .catch((error) => { + if (error.message.includes('No user with this credentials')) { + this.$toasted.global.error(this.$t('error.no-account')) + } else { + // : this.$t('error.no-email-verify') + this.$router.push('/reset/login') + } loader.hide() }) },