-
Notifications
You must be signed in to change notification settings - Fork 31
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
Ability to DISABLE_USER_REGISTRATION #724
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
If there is
DISABLE_USER_REGISTRATION
in env no one should be able to do signup. By signup form or using github signup.Describe the solution you'd like
If env has
DISABLE_USER_REGISTRATION
set to true, user should not be able to signup. We will restrict signup request from API side by adding check toDISABLE_USER_REGISTRATION
env.Like following condition we can put into,
impler.io/apps/api/src/app/auth/auth.controller.ts
Line 104 in 27c620c
impler.io/apps/api/src/app/auth/auth.controller.ts
Line 46 in 27c620c
impler.io/apps/api/src/config/env-validator.ts
Line 6 in 27c620c
impler.io/docker/docker-compose.yml
Line 25 in 27c620c
.env.example
file envs which goes into,impler.io/docker/.env.example
Line 4 in 27c620c
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: