On 11/06/2017 10:59 AM, Abhilash Raj wrote:
On Mon, Nov 6, 2017, at 10:26 AM, Simon Hanna wrote:
On 11/06/2017 07:22 PM, Dmitry Makovey wrote:
Hi, I'm trying to disable social login and running into troubles stepping on it's remnants all over the place. What's the proper sequence for disabling social login in MM3 install? comment out 'allauth.socialaccount' and all social providers in the INSTALLED_APPS in your settings.py
This apparently doesn't work, Hyperkitty apparently depends on this to do some stuff. I haven't dug up in there, but the migrations would break if we remove this from INSTALLED_APPS.
Instead, please let the 'allauth.socialaccount' be there, along with 'allauth.account' and 'allauth' and everything else related to allauth should be removed.
It looks something like this:
INSTALLED_APPS = ( 'hyperkitty', 'postorius', 'django_mailman3', # Uncomment the next line to enable the admin: 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'django_gravatar', 'paintstore', 'compressor', 'haystack', 'django_extensions', 'django_q', 'allauth', 'allauth.account', 'allauth.socialaccount', ) ``` I tested this works, see [1].
thanks! that worked indeed.
They shouldn't be enabled by default in the first place I guess, since pretty much all of them require further setup in order to work properly...
How are you running MM3?
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Sr System and DevOps Engineer SoM IRT