nodetube icon indicating copy to clipboard operation
nodetube copied to clipboard

Disabling registration for new users.

Open kodxana opened this issue 4 years ago • 3 comments

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

kodxana avatar Nov 19 '20 17:11 kodxana

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.

alechash avatar Nov 19 '20 18:11 alechash

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

BassOfBass avatar Nov 24 '20 18:11 BassOfBass

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

mayeaux avatar Nov 25 '20 05:11 mayeaux