mayeaux / nodetube

Open-source YouTube alternative that offers video, audio and image uploads, livestreaming and built-in monetization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disabling registration for new users.

kodxana opened this issue · comments

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

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.

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

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