Skip to content

fix: redirect login to setup initialization#311

Open
hardy-dev-infinilabs wants to merge 1 commit into
mainfrom
pr/setup-login-redirect
Open

fix: redirect login to setup initialization#311
hardy-dev-infinilabs wants to merge 1 commit into
mainfrom
pr/setup-login-redirect

Conversation

@hardy-dev-infinilabs
Copy link
Copy Markdown

Summary

  • check the cached setup-required state when the login page mounts
  • refresh the setup-required status from the health API before rendering the login flow
  • redirect directly to /guide/initialization whenever setup is still required

Testing

  • NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096" ./node_modules/.bin/umi build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants