From: Dessalines Date: Mon, 30 Nov 2020 20:28:00 +0000 (-0600) Subject: Logging out user on account deletion. Fixes #84 X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22%7B%7D/static/%7Bpost.url%7D?a=commitdiff_plain;h=1287b67d1f02ab1fe49c10804665315f78d21b29;p=lemmy-ui.git Logging out user on account deletion. Fixes #84 --- diff --git a/src/shared/components/user.tsx b/src/shared/components/user.tsx index 8f593cc..b03d9dd 100644 --- a/src/shared/components/user.tsx +++ b/src/shared/components/user.tsx @@ -1059,6 +1059,7 @@ export class User extends Component { i.setState(i.state); WebSocketService.Instance.deleteAccount(i.state.deleteAccountForm); + i.handleLogoutClick(i); } setUserInfo() {