From 42b9781ee0a6c7ea50279fb7bc48fe9db9f1d64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 12 May 2021 09:36:28 +0200 Subject: [PATCH] remove unnecessary logger in hook event (#53949) --- src/authentic2_auth_fedict/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/authentic2_auth_fedict/__init__.py b/src/authentic2_auth_fedict/__init__.py index a395eb8..c9649ea 100644 --- a/src/authentic2_auth_fedict/__init__.py +++ b/src/authentic2_auth_fedict/__init__.py @@ -31,7 +31,6 @@ class AppConfig(django.apps.AppConfig): def a2_hook_event(self, name, **kwargs): if name == 'registration': - logger = logging.getLogger(__name__) if kwargs.get('authentication_method') == 'fedict': user = kwargs.get('user') user.backend = 'authentic2_auth_fedict.backends.FedictBackend'