From 98bd5e2256bfdeba6d5ab07f0421acfde1a0de26 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Feb 2023 11:47:01 +0100 Subject: Refactor login redirection/button links Correctly handle external auth redirection in all cases --- client/src/app/+reset-password/reset-password.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/+reset-password') diff --git a/client/src/app/+reset-password/reset-password.component.ts b/client/src/app/+reset-password/reset-password.component.ts index 44216f978..a6c05bbfb 100644 --- a/client/src/app/+reset-password/reset-password.component.ts +++ b/client/src/app/+reset-password/reset-password.component.ts @@ -45,6 +45,7 @@ export class ResetPasswordComponent extends FormReactive implements OnInit { .subscribe({ next: () => { this.notifier.success($localize`Your password has been successfully reset!`) + this.router.navigate([ '/login' ]) }, -- cgit v1.2.3