From c9b48e4980f5ab3d7f067feb004028b7c578cdcc Mon Sep 17 00:00:00 2001 From: sunaurus Date: Tue, 20 Jun 2023 13:44:26 +0300 Subject: [PATCH] Fix redirect after successful password reset --- src/shared/components/person/password-change.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/person/password-change.tsx b/src/shared/components/person/password-change.tsx index 9f5bf927..6475be9e 100644 --- a/src/shared/components/person/password-change.tsx +++ b/src/shared/components/person/password-change.tsx @@ -140,7 +140,7 @@ export class PasswordChange extends Component { UserService.Instance.myUserInfo = site.data.my_user; } - this.props.history.replace("/"); + i.props.history.replace("/"); } } }