mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
Logging out user on account deletion. Fixes #84
This commit is contained in:
parent
fa971d6755
commit
1287b67d1f
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue