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

Disabling registration for new users. #387

Open
kodxana opened this issue Nov 19, 2020 · 3 comments
Open

Disabling registration for new users. #387

kodxana opened this issue Nov 19, 2020 · 3 comments

Comments

@kodxana
Copy link

kodxana commented Nov 19, 2020

Is it possible to block registration for other users and only add for example friends?

@alechash
Copy link
Collaborator

Not at the moment, I believe.

You could easily do this by creating a new ENV variable for this. Then when a user tries to register, it checks the variable. If it is false, then it won't let them register.

It could also return a 404 for /signup.

As for the friends part, I'm not exactly sure what you mean.

@BassOfBass
Copy link
Collaborator

By "add friends" he meant invite system, so only the people with an invite code could register.

@mayeaux
Copy link
Owner

mayeaux commented Nov 25, 2020

Is it possible to block registration for other users and only add for example friends?

Sure, you would add an input on the registration page and only let people register if they had a code.

It's not implemented now but it's pretty easy to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants