diff --git a/network/settings.py b/network/settings.py index 2935c40..bbd6fb7 100644 --- a/network/settings.py +++ b/network/settings.py @@ -170,9 +170,6 @@ AUTH_USER_MODEL = 'users.User' LOGIN_REDIRECT_URL = 'users:redirect_user' LOGIN_URL = 'account_login' AUTOSLUG_SLUGIFY_FUNCTION = 'slugify.slugify' -if ENVIRONMENT == 'production': - # Disable registration - ACCOUNT_ADAPTER = 'network.users.adapter.NoSignupsAdapter' # Logging LOGGING = { diff --git a/network/templates/account/signup_closed.html b/network/templates/account/signup_closed.html deleted file mode 100644 index bad1665..0000000 --- a/network/templates/account/signup_closed.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "account/base.html" %} - -{% block head_title %} - Invitation only Sign Ups{% endblock %} - -{% block content %} -
-
-

Invitation only Sign Ups

-

SatNOGS Network is currently on Beta state.

-

- Please start by creating an account on our - Development instance. - As soon as you have a ground station ready to join our production network you can request an account on our - Community forum. -

-

- On details on how to Get Started check our - wiki page. -

-
-
-{% endblock %} diff --git a/network/users/adapter.py b/network/users/adapter.py deleted file mode 100644 index 54849a1..0000000 --- a/network/users/adapter.py +++ /dev/null @@ -1,6 +0,0 @@ -from allauth.account.adapter import DefaultAccountAdapter - - -class NoSignupsAdapter(DefaultAccountAdapter): - def is_open_for_signup(self, request): - return False