mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update frontend/src/views/Pages/Login.vue
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
9b90b42953
commit
83a2269a42
@ -104,8 +104,11 @@ export default {
|
||||
this.$router.push('/overview')
|
||||
loader.hide()
|
||||
})
|
||||
.catch(() => {
|
||||
.catch((error) => {
|
||||
this.$toasted.global.error(this.$t('error.no-account'))
|
||||
if (error.message.uncludes('User email not validated')) {
|
||||
this.$router.push('/reset/login')
|
||||
}
|
||||
loader.hide()
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user