From 94cd7b223704e658d0165cee18ea7bf912fef2e4 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Fri, 3 Mar 2017 20:11:35 +0100 Subject: [PATCH] authentication: add some more logging when extracting users. --- rhodecode/authentication/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rhodecode/authentication/base.py b/rhodecode/authentication/base.py index 351ddd38..28fe16a0 100644 --- a/rhodecode/authentication/base.py +++ b/rhodecode/authentication/base.py @@ -332,6 +332,8 @@ class RhodeCodeAuthPluginBase(object): log.debug('provided username:`%s` is empty skipping...', username) if not user: log.debug('User `%s` not found in database', username) + else: + log.debug('Got DB user:%s', user) return user def user_activation_state(self):