Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Drop social account integration
Artur Smęt5d733a8b3e11
diff --git a/docs/integrations.rst b/docs/integrations.rstindex dd63ea0424..2c35c6ff52 100644--- a/docs/integrations.rst+++ b/docs/integrations.rst@@ -53,13 +53,6 @@ To update the exchange rates run the following command at least once per day:Heroku users can use the `Scheduler add-on <https://elements.heroku.com/addons/scheduler>`_ to automatically call the command daily at a predefined time.-Log in using Social Media----------------------------Saleor uses `django-allauth <https://github.com/pennersr/django-allauth>`_ to provide integration between registration mechanism and Social Media accounts.-To enable particular social media integration, please refer to django-allauth documentation.--Reporting with Google Analytics-------------------------------diff --git a/saleor/settings.py b/saleor/settings.pyindex e31ea07046..e6a49ceb4b 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -174,7 +174,6 @@ INSTALLED_APPS = ['webpack_loader','allauth','allauth.account',- 'allauth.socialaccount',]LOGGING = {@@ -318,7 +317,6 @@ ACCOUNT_EMAIL_REQUIRED = TrueACCOUNT_USER_MODEL_USERNAME_FIELD = NoneACCOUNT_EMAIL_VERIFICATION = 'none'ACCOUNT_USERNAME_REQUIRED = False-SOCIALACCOUNT_EMAIL_VERIFICATION = FalseACCOUNT_LOGOUT_ON_GET = TrueACCOUNT_SESSION_REMEMBER = FalseACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE = Falsediff --git a/templates/account/signup.html b/templates/account/signup.htmlindex 1fe727067f..6be6df0cfe 100644--- a/templates/account/signup.html+++ b/templates/account/signup.html@@ -15,7 +15,10 @@<h2>{% trans 'Create an account' %}</h2>{% csrf_token %}{% bootstrap_form form %}- <input type="hidden" name="next" value="{{ next }}" />+ {% if redirect_field_value %}+ <input type="hidden" name="next" name="{{ redirect_field_name }}"+ value="{{ redirect_field_value }}"/>+ {% endif %}</fieldset><div class="form-group text-right"><button type="submit" class="btn btn primary">{% trans "Create an account" %}</button>