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/%7BpictshareAvatarThumbnail%28admin.avatar%29%7D?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("/"); } } }