chore: fix check enable signup

This commit is contained in:
Steven
2023-09-24 23:46:28 +08:00
parent fc8808ce04
commit 60c440ae10
3 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ const SignUp: React.FC = () => {
});
}
if (!workspaceStore.setting.enableSignup) {
if (!workspaceStore.profile.enableSignup) {
return navigateTo("/auth", {
replace: true,
});