Revert "Auxiliary commit to revert individual files from 5eb955c52b686454beef173fb976ce6842400a20"

This reverts commit f1d9e9096abe110698c3e9d756c377a991a15b3c.
This commit is contained in:
Ulf Gebhardt 2021-12-10 00:35:04 +01:00
parent 5eb955c52b
commit eef7403f0f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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()
})
},