mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 15:51:14 +00:00
parent
67365d5878
commit
ec649d1911
1 changed files with 1 additions and 3 deletions
|
@ -205,9 +205,7 @@ export class Setup extends Component<any, State> {
|
||||||
const data = i.state.registerRes.data;
|
const data = i.state.registerRes.data;
|
||||||
|
|
||||||
UserService.Instance.login(data);
|
UserService.Instance.login(data);
|
||||||
if (UserService.Instance.jwtInfo) {
|
i.setState({ doneRegisteringUser: true });
|
||||||
i.setState({ doneRegisteringUser: true });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue