# HG changeset patch # User Marcin Kuzminski # Date 2016-07-13 10:27:04 # Node ID d8a74f8590e83db41953ff22636a9cbb4a16098b # Parent 23eb57a02d43b2dbafcd812c4c9040026db29e3f auth: made the message about not-active user consisten with token plugin diff --git a/rhodecode/authentication/plugins/auth_rhodecode.py b/rhodecode/authentication/plugins/auth_rhodecode.py --- a/rhodecode/authentication/plugins/auth_rhodecode.py +++ b/rhodecode/authentication/plugins/auth_rhodecode.py @@ -137,5 +137,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthP "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