From: sunaurus Date: Tue, 20 Jun 2023 10:44:26 +0000 (+0300) Subject: Fix redirect after successful password reset X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/README.md?a=commitdiff_plain;h=c9b48e4980f5ab3d7f067feb004028b7c578cdcc;p=lemmy-ui.git Fix redirect after successful password reset --- diff --git a/src/shared/components/person/password-change.tsx b/src/shared/components/person/password-change.tsx index 9f5bf92..6475be9 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("/"); } } }