From 9abcc8852d2879ae7d0eaa53a01ecc2ee9b62d12 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 18 Dec 2018 15:35:30 +0100 Subject: [PATCH] core: add more logging --- passbook/core/views/authentication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/passbook/core/views/authentication.py b/passbook/core/views/authentication.py index b833980f8..f90361e84 100644 --- a/passbook/core/views/authentication.py +++ b/passbook/core/views/authentication.py @@ -52,6 +52,7 @@ class LoginView(UserPassesTestMixin, FormView): for search_field in CONFIG.y('passbook.uid_fields'): users = User.objects.filter(**{search_field: uid_value}) if users.exists(): + LOGGER.debug("Found user %s with uid_field %s", users.first(), search_field) return users.first() return None