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'