Fixing site setup. Fixes #1694 (#1697)

This commit is contained in:
Dessalines 2023-06-29 09:04:09 -04:00 committed by GitHub
parent 67365d5878
commit ec649d1911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 });
}
} }
} }
} }