fix: Fix bug where the password reset doesnt redirect to login
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / Docker frontend validation (pull_request) Successful in 18s
CI / oxlint (pull_request) Successful in 18s
CI / eslint (pull_request) Successful in 24s
CI / prettier (pull_request) Successful in 22s
CI / test-build (pull_request) Successful in 31s

This commit is contained in:
Jan K9f 2025-05-21 09:02:13 +02:00
commit d02c3d24f1

View file

@ -87,6 +87,10 @@ export class RecoverPasswordComponent implements OnInit {
'Wenn ein Konto mit dieser E-Mail existiert, wird eine E-Mail mit weiteren Anweisungen gesendet.' 'Wenn ein Konto mit dieser E-Mail existiert, wird eine E-Mail mit weiteren Anweisungen gesendet.'
); );
this.emailForm.reset(); this.emailForm.reset();
setTimeout(() => {
this.closeDialog.emit();
this.switchToLogin.emit();
}, 2000);
}, },
error: (err) => { error: (err) => {
this.isLoading.set(false); this.isLoading.set(false);