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

Allow local registration without early access code #366

Open
evadecker opened this issue Feb 1, 2025 · 0 comments
Open

Allow local registration without early access code #366

evadecker opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@evadecker
Copy link
Member

#352 introduced early access codes to limit production access, but it also removed a check for import.meta.env.PROD.

Problem:
When registering locally, an early access code should not be required.

Fix:
Add a check for import.meta.env.PROD to decide whether to display the early access code requirement. If a user is in a development environment, allow them to register without an early access code.

@evadecker evadecker added the bug Something isn't working label Feb 1, 2025
@evadecker evadecker added this to the Namesake v1.0 milestone Feb 1, 2025
@evadecker evadecker added the good first issue Good for newcomers label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant