Logging out user on account deletion. Fixes #84

This commit is contained in:
Dessalines 2020-11-30 14:28:00 -06:00
parent fa971d6755
commit 1287b67d1f

View file

@ -1059,6 +1059,7 @@ export class User extends Component<any, UserState> {
i.setState(i.state); i.setState(i.state);
WebSocketService.Instance.deleteAccount(i.state.deleteAccountForm); WebSocketService.Instance.deleteAccount(i.state.deleteAccountForm);
i.handleLogoutClick(i);
} }
setUserInfo() { setUserInfo() {