fix(core): Make password-reset urls valid only for single-use (#7622)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-07 15:35:43 +01:00
committed by GitHub
parent b3470fd64d
commit 60314248f4
13 changed files with 206 additions and 168 deletions

View File

@@ -121,7 +121,7 @@ export default defineComponent({
async onSubmit(values: { [key: string]: string | boolean }) {
if (!this.inviterId || !this.inviteeId) {
this.showError(
new Error(this.$locale.baseText('auth.changePassword.tokenValidationError')),
new Error(this.$locale.baseText('auth.signup.tokenValidationError')),
this.$locale.baseText('auth.signup.setupYourAccountError'),
);
return;