mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
In case where the user has used an OptIn code that was to old then the user is send to a thx/resetFailed page where he gets a message that the code was to old.
This commit is contained in:
parent
3676a57398
commit
f5383e3c05
@ -204,6 +204,7 @@
|
||||
"errorTitle": "Achtung!",
|
||||
"register": "Du bist jetzt registriert, bitte überprüfe deine Emails und klicke auf den Aktivierungslink.",
|
||||
"reset": "Dein Passwort wurde geändert.",
|
||||
"resetPassword": "Den Code den Du genutzt hast ist zu alt bitte fordere ein neuen über die Passwort Reset Seite an.",
|
||||
"title": "Danke!"
|
||||
}
|
||||
},
|
||||
|
||||
@ -197,13 +197,14 @@
|
||||
"uppercase": "One uppercase letter required."
|
||||
},
|
||||
"thx": {
|
||||
"activateEmail": "Your account has not been activated yet, please check your emails and click the activation link!",
|
||||
"activateEmail": "Your account has not been activated yet, please check your emails and click the activation link! Or order a new activation link over the password reset page.",
|
||||
"checkEmail": "Your email has been successfully verified.",
|
||||
"email": "We have sent you an email.",
|
||||
"emailActivated": "Thank you your email has been activated.",
|
||||
"errorTitle": "Attention!",
|
||||
"register": "You are registered now, please check your emails and click the activation link.",
|
||||
"reset": "Your password has been changed.",
|
||||
"resetPassword": "The code you used was to old please order a new on over the password reset page.",
|
||||
"title": "Thank you!"
|
||||
}
|
||||
},
|
||||
|
||||
@ -97,7 +97,7 @@ export default {
|
||||
.catch((error) => {
|
||||
this.$toasted.global.error(error.message)
|
||||
if (error.message.includes('Code is older than 10 minutes')) {
|
||||
this.$router.push('/thx/login')
|
||||
this.$router.push('/thx/resetFailed')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@ -48,6 +48,12 @@ const textFields = {
|
||||
button: 'settings.password.reset',
|
||||
linkTo: '/password',
|
||||
},
|
||||
resetFailed: {
|
||||
headline: 'site.thx.errorTitle',
|
||||
subtitle: 'site.thx.resetPassword',
|
||||
button: 'settings.password.reset',
|
||||
linkTo: '/password',
|
||||
},
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user