mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
If optin code to old send user to the error page that says that the code is not active anymore.
This commit is contained in:
parent
c29245b3ca
commit
2a4f66a03d
@ -96,8 +96,9 @@ export default {
|
||||
})
|
||||
.catch((error) => {
|
||||
this.$toasted.global.error(error.message)
|
||||
if (error.message.includes('Code is older than 10 minutes'))
|
||||
this.$router.push('/password/reset')
|
||||
if (error.message.includes('Code is older than 10 minutes')){
|
||||
this.$router.push('/thx/login')
|
||||
}
|
||||
})
|
||||
},
|
||||
setDisplaySetup() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user