mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
an incorrect login should always result in an error not in a request to reset the password
This commit is contained in:
parent
dddd467569
commit
1626f28f20
@ -104,13 +104,8 @@ export default {
|
|||||||
this.$router.push('/overview')
|
this.$router.push('/overview')
|
||||||
loader.hide()
|
loader.hide()
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch(() => {
|
||||||
if (error.message.includes('No user with this credentials')) {
|
|
||||||
this.$toasted.global.error(this.$t('error.no-account'))
|
this.$toasted.global.error(this.$t('error.no-account'))
|
||||||
} else {
|
|
||||||
// : this.$t('error.no-email-verify')
|
|
||||||
this.$router.push('/reset/login')
|
|
||||||
}
|
|
||||||
loader.hide()
|
loader.hide()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user