mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-01 19:59:44 +00:00
chore: fix check enable signup
This commit is contained in:
@ -104,7 +104,7 @@ const SignIn: React.FC = () => {
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
{workspaceStore.setting.enableSignup && (
|
||||
{workspaceStore.profile.enableSignup && (
|
||||
<p className="w-full mt-4 text-sm">
|
||||
<span className="dark:text-gray-500">{"Don't have an account yet?"}</span>
|
||||
<Link to="/auth/signup" className="cursor-pointer ml-2 text-blue-600 hover:underline">
|
||||
|
@ -27,7 +27,7 @@ const SignUp: React.FC = () => {
|
||||
});
|
||||
}
|
||||
|
||||
if (!workspaceStore.setting.enableSignup) {
|
||||
if (!workspaceStore.profile.enableSignup) {
|
||||
return navigateTo("/auth", {
|
||||
replace: true,
|
||||
});
|
||||
|
Reference in New Issue
Block a user