Remove unused settings from social auth

I cannot find any reference of those settings while looking
at social-core code.
This commit is contained in:
Yohan Boniface 2023-06-16 14:52:12 +02:00
parent fef82818e1
commit 453a7b5616

View file

@ -252,8 +252,6 @@ LEAFLET_ZOOM = env.int('LEAFLET_ZOOM', default=6)
COMPRESS_ENABLED = True
COMPRESS_OFFLINE = True
SOCIAL_AUTH_DEFAULT_USERNAME = lambda u: slugify(u)
SOCIAL_AUTH_ASSOCIATE_BY_EMAIL = True
SOCIAL_AUTH_NO_DEFAULT_PROTECTED_USER_FIELDS = True
SOCIAL_AUTH_PROTECTED_USER_FIELDS = ("id", )
LOGIN_URL = "login"