From 33a87c3959ee676ee134b9fad4b79296506002d7 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Tue, 28 Oct 2025 18:09:22 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F(settings)=20remove=20unused?= =?UTF-8?q?=20code=20from=20copy/paste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These lines where never meant to be used in this project. --- src/backend/core/authentication/backends.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/backend/core/authentication/backends.py b/src/backend/core/authentication/backends.py index 14e3ca4..af3705d 100644 --- a/src/backend/core/authentication/backends.py +++ b/src/backend/core/authentication/backends.py @@ -1,7 +1,6 @@ """Authentication Backends for the Conversations core app.""" import logging -import os from django.conf import settings from django.core.exceptions import SuspiciousOperation @@ -15,19 +14,6 @@ from core.models import DuplicateEmailError logger = logging.getLogger(__name__) -# Settings renamed warnings -if os.environ.get("USER_OIDC_FIELDS_TO_FULLNAME"): - logger.warning( - "USER_OIDC_FIELDS_TO_FULLNAME has been renamed " - "to OIDC_USERINFO_FULLNAME_FIELDS please update your settings." - ) - -if os.environ.get("USER_OIDC_FIELD_TO_SHORTNAME"): - logger.warning( - "USER_OIDC_FIELD_TO_SHORTNAME has been renamed " - "to OIDC_USERINFO_SHORTNAME_FIELD please update your settings." - ) - class OIDCAuthenticationBackend(LaSuiteOIDCAuthenticationBackend): """Custom OpenID Connect (OIDC) Authentication Backend.