mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
In case where their is no password set now we need to send the user to a page to change his password.
This commit is contained in:
parent
7341515dad
commit
f1b28a640e
@ -108,6 +108,8 @@ export default {
|
||||
this.$toasted.global.error(this.$t('error.no-account'))
|
||||
if (error.message.includes('User email not validated')) {
|
||||
this.$router.push('/thx/login')
|
||||
} else if (error.message.includes('User has no password set yet')) {
|
||||
this.$router.push('/reset/login')
|
||||
}
|
||||
loader.hide()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user