From 08000af5525fe2e910bd69684348dc27bf072cd7 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 13 Jul 2016 12:27:04 +0200 Subject: [PATCH] auth: made the message about not-active user consisten with token plugin --- rhodecode/authentication/plugins/auth_rhodecode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rhodecode/authentication/plugins/auth_rhodecode.py b/rhodecode/authentication/plugins/auth_rhodecode.py index 8061c933..92550a2a 100644 --- a/rhodecode/authentication/plugins/auth_rhodecode.py +++ b/rhodecode/authentication/plugins/auth_rhodecode.py @@ -137,5 +137,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase): "authenticating on this plugin", userobj) return None else: - log.warning('user %s tried auth but is disabled', userobj) + log.warning( + 'user `%s` failed to authenticate via %s, reason: account not ' + 'active.', username, self.name) return None