parent
67365d5878
commit
ec649d1911
1 changed files with 1 additions and 3 deletions
|
@ -205,12 +205,10 @@ export class Setup extends Component<any, State> {
|
|||
const data = i.state.registerRes.data;
|
||||
|
||||
UserService.Instance.login(data);
|
||||
if (UserService.Instance.jwtInfo) {
|
||||
i.setState({ doneRegisteringUser: true });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async handleCreateSite(form: CreateSite) {
|
||||
const createRes = await HttpService.client.createSite(form);
|
||||
|
|
Loading…
Reference in a new issue