Fixing site setup. Fixes #1694
This commit is contained in:
parent
67365d5878
commit
29feb58d2f
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;
|
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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
async handleCreateSite(form: CreateSite) {
|
async handleCreateSite(form: CreateSite) {
|
||||||
const createRes = await HttpService.client.createSite(form);
|
const createRes = await HttpService.client.createSite(form);
|
||||||
|
|
Loading…
Reference in a new issue