Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] disable/hidden Clerk auth signup button #2915

Closed
nexusdiscord opened this issue Jun 18, 2024 · 7 comments · Fixed by #3126
Closed

[Request] disable/hidden Clerk auth signup button #2915

nexusdiscord opened this issue Jun 18, 2024 · 7 comments · Fixed by #3126
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@nexusdiscord
Copy link

🥰 Feature Description

Hello, I really like the Clerk look, can you provide an option to disable/hide the signup button on Clerk login?

🧐 Proposed Solution

like providing an option in the environment

📝 Additional Information

No response

@nexusdiscord nexusdiscord added the 🌠 Feature Request New feature or request | 特性与建议 label Jun 18, 2024
@lobehubbot
Copy link
Member

👀 @nexusdiscord

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jun 18, 2024

it seems a good idea to have a feature flag to disable/ hide the clerk signup button / page

@hassnain9166
Copy link

please add this feature too thank you

@hassni12
Copy link


🎉 Success! 🎉

I used the following code snippet to hide the footer action in the sign-in component, and it worked like a charm for me! 🚀

<ClerkLoaded>
  <SignIn
    path="/sign-in"
    appearance={{
      elements: {
        footerAction: { display: "none" },
      },
    }}
  />
</ClerkLoaded>

Give it a try and watch the magic happen! ✨💻


@nexusdiscord
Copy link
Author

🎉 Success! 🎉

I used the following code snippet to hide the footer action in the sign-in component, and it worked like a charm for me! 🚀

<ClerkLoaded>
  <SignIn
    path="/sign-in"
    appearance={{
      elements: {
        footerAction: { display: "none" },
      },
    }}
  />
</ClerkLoaded>

Give it a try and watch the magic happen! ✨💻

I am not familiar with this. Where should I put this code?

@arvinxx
Copy link
Contributor

arvinxx commented Jul 1, 2024

@hassni12 PR welcome with a feature flag

@lobehubbot
Copy link
Member

@nexusdiscord

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants