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 user registration open/close from user settings.json ? #46

Open
ghost opened this issue Feb 24, 2014 · 0 comments
Open

Allow user registration open/close from user settings.json ? #46

ghost opened this issue Feb 24, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2014

As having a user account is apparently currently sufficient to be allowed upload a package, since django-registration is integrated, it may be useful to be able to block new user registration facility on a temporary or permanent basis. Of course, perhaps you don't want to complicate the exposed user settings, but I guess just something like the following in settings.py might do it.

REGISTRATION_OPEN = USER_SETTINGS['USER_REGISTRATION_OPEN'] 

(cosmetically, it might be worth also hiding the user registration link if user registration is thusly closed)

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

0 participants