From 15e9cf0b5fbb9c8ca941feedd7e23fd97c5e0a8a Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 21 Aug 2023 17:05:01 +0200 Subject: [PATCH] Protect back username field from being modified by social auth login --- umap/settings/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/umap/settings/base.py b/umap/settings/base.py index d8573b49..ae365000 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -264,8 +264,6 @@ LEAFLET_ZOOM = env.int('LEAFLET_ZOOM', default=6) COMPRESS_ENABLED = True COMPRESS_OFFLINE = True -SOCIAL_AUTH_NO_DEFAULT_PROTECTED_USER_FIELDS = True -SOCIAL_AUTH_PROTECTED_USER_FIELDS = ("id", ) LOGIN_URL = "login" SOCIAL_AUTH_LOGIN_REDIRECT_URL = "/login/popup/end/"